/* =========================================================
   Landing Pages — CSS Overrides
   Loaded after style.css, reuses all CSS variables
   ========================================================= */

/* ---------------------------------------------------------
   Header: minimal (logo + CTA only)
   --------------------------------------------------------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.lp-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-header-cta {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
}

/* ---------------------------------------------------------
   Hero: tighter for LP
   --------------------------------------------------------- */
.lp-hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.lp-hero .hero-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
}

.lp-hero .hero-subtitle {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.lp-hero .hero-cta {
  justify-content: center;
}

/* ---------------------------------------------------------
   Features: compact 3-col
   --------------------------------------------------------- */
.lp-features {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--surface);
}

/* ---------------------------------------------------------
   Hero guarantee
   --------------------------------------------------------- */
.hero-guarantee {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------
   Comparison table
   --------------------------------------------------------- */
.lp-comparison {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
}

.comparison-table {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
  font-weight: 600;
  font-size: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
}

.comparison-table thead th:first-child {
  width: 35%;
}

.comparison-table tbody td:first-child {
  font-weight: 500;
  color: var(--text);
}

.comparison-table tbody td:nth-child(3) {
  color: var(--text-muted);
}

.comparison-table .comparison-highlight {
  color: var(--primary);
  font-weight: 600;
}

.comparison-table thead .comparison-highlight {
  font-size: 1.125rem;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: var(--surface);
}

@media (max-width: 640px) {
  .comparison-table {
    font-size: 0.8125rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.625rem 0.75rem;
  }
}

/* ---------------------------------------------------------
   Pricing: tighter spacing
   --------------------------------------------------------- */
.lp-pricing {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--surface);
}

/* ---------------------------------------------------------
   FAQ: compact
   --------------------------------------------------------- */
.lp-faq {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* ---------------------------------------------------------
   Final CTA
   --------------------------------------------------------- */
.lp-final-cta {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

/* ---------------------------------------------------------
   Footer: minimal
   --------------------------------------------------------- */
.lp-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.lp-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

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

/* ---------------------------------------------------------
   Body: hide default site-header/site-footer if present
   --------------------------------------------------------- */
.lp-body .site-header,
.lp-body .site-footer {
  display: none;
}

/* ---------------------------------------------------------
   Mobile adjustments
   --------------------------------------------------------- */
@media (max-width: 640px) {
  .lp-header-cta {
    font-size: 0.8125rem;
    padding: 0.4rem 1rem;
  }

  .lp-hero .hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .lp-hero .hero-stats {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .lp-hero .hero-stat-divider {
    display: none;
  }

  .lp-footer .container {
    flex-direction: column;
    text-align: center;
  }
}
