/* Landlord Pro — SaaS Landing Page Stylesheet (Stripe & Linear Aesthetic) */
:root {
  --lp-bg: #F8FAFC;
  --lp-card: #FFFFFF;
  --lp-card-hover: #F1F5F9;
  --lp-border: #E2E8F0;
  --lp-border-hover: #CBD5E1;
  --lp-text: #0F172A;
  --lp-text-muted: #64748B;
  --lp-text-subtle: #94A3B8;
  --lp-primary: #2563EB;
  --lp-primary-hover: #1D4ED8;
  --lp-primary-subtle: #EFF6FF;
  --lp-green: #10B981;
  --lp-green-subtle: #ECFDF5;
  --lp-orange: #F59E0B;
  --lp-purple: #8B5CF6;
  --lp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --lp-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --lp-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --lp-shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

[data-theme="dark"] {
  --lp-bg: #0B0F19;
  --lp-card: #141C2E;
  --lp-card-hover: #1E293B;
  --lp-border: #1E293B;
  --lp-border-hover: #334155;
  --lp-text: #F8FAFC;
  --lp-text-muted: #94A3B8;
  --lp-text-subtle: #64748B;
  --lp-primary: #3B82F6;
  --lp-primary-hover: #60A5FA;
  --lp-primary-subtle: rgba(37, 99, 235, 0.15);
  --lp-green: #34D399;
  --lp-green-subtle: rgba(16, 185, 129, 0.15);
  --lp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --lp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --lp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --lp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.landing-body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  background-color: var(--lp-bg);
  color: var(--lp-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--lp-bg);
  border-bottom: 1px solid var(--lp-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.2s ease;
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--lp-text);
  font-weight: 700;
  font-size: 18px;
}

.lp-brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.lp-nav-links a {
  text-decoration: none;
  color: var(--lp-text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.18s ease;
}

.lp-btn-primary {
  background: var(--lp-primary);
  color: #FFFFFF;
  box-shadow: var(--lp-shadow-sm);
}

.lp-btn-primary:hover {
  background: var(--lp-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--lp-shadow-md);
}

.lp-btn-secondary {
  background: var(--lp-card);
  color: var(--lp-text);
  border-color: var(--lp-border);
  box-shadow: var(--lp-shadow-sm);
}

.lp-btn-secondary:hover {
  background: var(--lp-card-hover);
  border-color: var(--lp-border-hover);
}

.lp-btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
}

.lp-btn-lg {
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 10px;
}

/* Hero Section */
.lp-hero {
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
}

.lp-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--lp-primary-subtle);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--lp-primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.lp-hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 860px;
  margin: 0 auto 20px auto;
  color: var(--lp-text);
}

.lp-hero-title span {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-subtitle {
  font-size: 19px;
  color: var(--lp-text-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.lp-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Hero App Preview Mockup */
.lp-mockup-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  border-radius: 16px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-xl);
  overflow: hidden;
  text-align: left;
}

.lp-mockup-header {
  height: 44px;
  background: var(--lp-card);
  border-bottom: 1px solid var(--lp-border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.lp-mockup-dots {
  display: flex;
  gap: 6px;
}

.lp-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lp-border);
}

.lp-mockup-tab-pill {
  font-size: 11.5px;
  font-weight: 600;
  background: var(--lp-primary-subtle);
  color: var(--lp-primary);
  padding: 3px 10px;
  border-radius: 12px;
}

.lp-mockup-body {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--lp-bg);
}

.lp-preview-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--lp-shadow-sm);
}

.lp-preview-card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--lp-text-muted);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.lp-preview-card-val {
  font-size: 24px;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 4px;
}

.lp-preview-card-sub {
  font-size: 11.5px;
  color: var(--lp-green);
  font-weight: 500;
}

/* Metrics Bar */
.lp-metrics-strip {
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  background: var(--lp-card);
  padding: 36px 0;
  margin: 60px 0;
}

.lp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.lp-metric-item h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--lp-primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.lp-metric-item p {
  font-size: 13.5px;
  color: var(--lp-text-muted);
  font-weight: 500;
}

/* Features Pillars */
.lp-section {
  padding: 70px 0;
}

.lp-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.lp-section-tag {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lp-primary);
  margin-bottom: 8px;
}

.lp-section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.lp-section-desc {
  font-size: 16.5px;
  color: var(--lp-text-muted);
}

.lp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-pillar-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--lp-shadow-sm);
  transition: all 0.2s ease;
  position: relative;
}

.lp-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow-md);
  border-color: var(--lp-border-hover);
}

.lp-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.lp-pillar-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.lp-pillar-card p {
  font-size: 14.5px;
  color: var(--lp-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.lp-pillar-list {
  list-style: none;
  border-top: 1px solid var(--lp-border);
  padding-top: 16px;
}

.lp-pillar-list li {
  font-size: 13.5px;
  color: var(--lp-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-pillar-list li svg {
  color: var(--lp-green);
  flex-shrink: 0;
}

/* Pricing Cards */
.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.lp-pricing-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--lp-shadow-sm);
  transition: all 0.2s ease;
}

.lp-pricing-card.featured {
  border-color: var(--lp-primary);
  box-shadow: var(--lp-shadow-lg);
  transform: scale(1.03);
}

.lp-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

.lp-pricing-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.lp-pricing-desc {
  font-size: 13px;
  color: var(--lp-text-muted);
  min-height: 38px;
  margin-bottom: 20px;
}

.lp-pricing-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.lp-pricing-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-text-muted);
}

.lp-pricing-features {
  list-style: none;
  margin: 28px 0;
  flex: 1;
}

.lp-pricing-features li {
  font-size: 13.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-text);
}

.lp-pricing-features li svg {
  color: var(--lp-primary);
  flex-shrink: 0;
}

/* FAQ Accordion */
.lp-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.lp-faq-item {
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  background: var(--lp-card);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.lp-faq-item.active {
  border-color: var(--lp-primary);
}

.lp-faq-question {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.lp-faq-arrow {
  transition: transform 0.2s ease;
}

.lp-faq-item.active .lp-faq-arrow {
  transform: rotate(180deg);
}

.lp-faq-answer {
  padding: 0 22px 18px 22px;
  font-size: 14.5px;
  color: var(--lp-text-muted);
  line-height: 1.6;
  display: none;
}

.lp-faq-item.active .lp-faq-answer {
  display: block;
}

/* Call to Action Banner */
.lp-cta-banner {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  color: #fff;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  margin: 60px auto;
  max-width: 1100px;
  box-shadow: var(--lp-shadow-xl);
  position: relative;
  overflow: hidden;
}

.lp-cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
}

.lp-cta-banner p {
  font-size: 16.5px;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

/* Footer */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  background: var(--lp-card);
  padding: 48px 0 24px 0;
  font-size: 13.5px;
  color: var(--lp-text-muted);
}

.lp-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .lp-hero-title {
    font-size: 38px;
  }
  .lp-pillars-grid, .lp-pricing-grid {
    grid-template-columns: 1fr;
  }
  .lp-mockup-body {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .lp-pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .lp-nav-links {
    display: none;
  }
  .lp-hero {
    padding: 48px 0 36px 0;
  }
  .lp-hero-title {
    font-size: 30px;
  }
  .lp-hero-subtitle {
    font-size: 16px;
  }
  .lp-mockup-body {
    grid-template-columns: 1fr;
  }
  .lp-metrics-grid {
    grid-template-columns: 1fr;
  }
  .lp-cta-banner {
    padding: 40px 20px;
  }
  .lp-cta-banner h2 {
    font-size: 26px;
  }
}

/* Auth Dialog Modal */
dialog#lpAuthModal {
  margin: auto;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  background: var(--lp-card);
  color: var(--lp-text);
  box-shadow: var(--lp-shadow-xl);
  padding: 0;
  max-width: 440px;
  width: 90vw;
}

dialog#lpAuthModal::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--lp-border);
}

.lp-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--lp-text);
}

.lp-modal-close {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--lp-text-muted);
  line-height: 1;
}

.lp-modal-body {
  padding: 24px;
}

.lp-auth-tabs {
  display: flex;
  background: var(--lp-bg);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
}

.lp-auth-tab {
  flex: 1;
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lp-text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-auth-tab.active {
  background: var(--lp-card);
  color: var(--lp-text);
  box-shadow: var(--lp-shadow-sm);
}

.lp-form-group {
  margin-bottom: 16px;
  text-align: left;
}

.lp-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lp-text);
  margin-bottom: 6px;
}

.lp-form-group input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg);
  color: var(--lp-text);
  font-size: 14px;
  transition: border-color 0.15s ease;
}

.lp-form-group input:focus {
  outline: none;
  border-color: var(--lp-primary);
  background: var(--lp-card);
}

.lp-auth-error {
  display: none;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #DC2626;
  font-size: 13px;
  margin-bottom: 16px;
}

/* Language and theme buttons in nav */
.lp-lang-btn {
  background: transparent;
  border: none;
  color: var(--lp-text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
}

.lp-lang-btn.active {
  color: var(--lp-primary);
  background: var(--lp-primary-subtle);
}

.lp-theme-btn {
  background: transparent;
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
  color: var(--lp-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.lp-theme-btn:hover {
  color: var(--lp-text);
  background: var(--lp-card-hover);
}
