/* Landing Page Comprehensive Style Reset */

/* ============================================
   HEADING RESETS - Remove theme gold border & gradient
   ============================================ */
.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4,
.landing-page h5,
.landing-page h6,
.landing-page-antique h1,
.landing-page-antique h2,
.landing-page-furniture-value h1,
.landing-page-furniture-value h2,
div[class*="landing-page"] h1,
div[class*="landing-page"] h2,
div[class*="landing-page"] h3 {
  border-left: none !important;
  padding-left: 0 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
  background-clip: unset !important;
  color: #1a365d !important;
  margin-bottom: 1rem;
}

/* Headings inside colored containers inherit white */
.landing-page div[style*="background"] h2,
.landing-page div[style*="background"] h3,
.landing-page .lp-cta-box h2,
.landing-page .lp-cta-box h3,
div[class*="landing-page"] section[style*="background"] h1,
div[class*="landing-page"] section[style*="background"] h2 {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

/* ============================================
   INLINE STYLE SUPPORT - Make inline styles work
   ============================================ */

/* Force inline background styles to display */
.landing-page div[style*="background: linear-gradient"],
.landing-page div[style*="background:linear-gradient"],
.landing-page section[style*="background"] {
  display: block !important;
  color: white !important;
}

/* Force inline button/link styles */
.landing-page a[style*="background"],
.landing-page a[style*="display: inline-block"] {
  display: inline-block !important;
  text-decoration: none !important;
  -webkit-text-fill-color: inherit !important;
}

/* ============================================
   CSS CLASS-BASED STYLES
   ============================================ */

/* Lead paragraph */
.landing-page .lp-lead,
.landing-page p.lead {
  font-size: 1.3rem !important;
  color: #4a5568 !important;
  margin-bottom: 2rem !important;
  line-height: 1.7 !important;
}

/* CTA Boxes */
.landing-page .lp-cta-box {
  padding: 24px;
  border-radius: 8px;
  margin: 30px 0;
  text-align: center;
}

.landing-page .lp-cta-blue {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%) !important;
  color: white !important;
}

.landing-page .lp-cta-brown {
  background: linear-gradient(135deg, #744210 0%, #975a16 100%) !important;
  color: white !important;
}

.landing-page .lp-cta-green {
  background: #f0fff4 !important;
  border-left: 4px solid #48bb78 !important;
  color: #276749 !important;
  text-align: left !important;
}

.landing-page .lp-cta-purple {
  background: linear-gradient(135deg, #553c9a 0%, #6b46c1 100%) !important;
  color: white !important;
}

.landing-page .lp-cta-box h2,
.landing-page .lp-cta-box h3 {
  margin-top: 0 !important;
}

.landing-page .lp-cta-blue h2,
.landing-page .lp-cta-blue h3,
.landing-page .lp-cta-brown h2,
.landing-page .lp-cta-brown h3,
.landing-page .lp-cta-purple h2,
.landing-page .lp-cta-purple h3 {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

.landing-page .lp-cta-green h2,
.landing-page .lp-cta-green h3 {
  color: #276749 !important;
  -webkit-text-fill-color: #276749 !important;
}

.landing-page .lp-cta-box p {
  margin-bottom: 15px;
}

/* Paragraphs inside colored CTA boxes should be white */
.landing-page .lp-cta-blue p,
.landing-page .lp-cta-brown p,
.landing-page .lp-cta-purple p,
.landing-page div[style*="background: linear-gradient"] p,
.landing-page div[style*="background:linear-gradient"] p,
.landing-page section[style*="background"] p {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

/* Primary Button */
.landing-page .lp-btn-primary,
.landing-page a.lp-btn-primary {
  display: inline-block !important;
  background: #ed8936 !important;
  color: white !important;
  padding: 14px 28px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
  transition: all 0.3s ease !important;
  -webkit-text-fill-color: white !important;
}

.landing-page .lp-btn-primary:hover {
  background: #dd6b20 !important;
  transform: translateY(-2px);
}

/* Green Button */
.landing-page .lp-btn-green,
.landing-page a.lp-btn-green {
  display: inline-block !important;
  background: #48bb78 !important;
  color: white !important;
  padding: 12px 24px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: bold !important;
  -webkit-text-fill-color: white !important;
}

/* Small text */
.landing-page .lp-small {
  margin-top: 10px !important;
  font-size: 0.9rem !important;
  opacity: 0.9 !important;
}

/* Grid layout */
.landing-page .lp-grid,
.landing-page div[style*="grid-template-columns"] {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 12px !important;
  margin: 20px 0 !important;
}

.landing-page .lp-grid > div,
.landing-page div[style*="grid-template-columns"] > div {
  background: #f7fafc !important;
  padding: 12px !important;
  border-radius: 6px !important;
  text-align: center !important;
  color: #4a5568 !important;
}

/* Lists */
.landing-page ul,
.landing-page ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #4a5568;
}

.landing-page li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Paragraphs */
.landing-page p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ============================================
   MODULE TEMPLATE SUPPORT (lp- prefixed classes)
   ============================================ */

/* Hero section */
.lp-hero {
  color: white !important;
}

.lp-hero p,
.lp-hero .lp-hero-subtitle {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

.lp-hero h1,
.lp-hero-title {
  color: white !important;
  -webkit-text-fill-color: white !important;
  border-left: none !important;
  background: none !important;
}

.lp-hero-subtitle {
  color: white !important;
}

.lp-microcopy {
  color: inherit !important;
  opacity: 0.85;
}

/* Section titles */
.lp-section-title {
  color: #1a365d !important;
  border-left: none !important;
  background: none !important;
  -webkit-text-fill-color: #1a365d !important;
}

/* Social proof section */
.lp-social-proof {
  color: white !important;
}

.lp-social-proof h2,
.lp-social-proof .lp-section-title {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

.lp-social-proof p {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .landing-page .lp-cta-box {
    padding: 20px 15px;
  }

  .landing-page .lp-btn-primary {
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  .landing-page .lp-grid,
  .landing-page div[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
