/* ==========================================================================
   FloodCert Landing Pages — Supplemental Styles
   Extends marketing.css with landing-page-specific components
   ========================================================================== */

/* ---------- Hero tall variant ---------- */
.lp-hero-tall {
  padding: 80px 20px;
}

@media screen and (min-width: 768px) {
  .lp-hero-tall {
    padding: 100px 40px;
  }
}

@media screen and (min-width: 1200px) {
  .lp-hero-tall {
    padding: 120px 60px;
  }
}

/* ---------- Badge / Eyebrow ---------- */
.lp-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #feffff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.lp-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 32px;
}

@media screen and (min-width: 768px) {
  .lp-hero-subtitle {
    font-size: 20px;
  }
}

.lp-hero-subtitle strong {
  color: #feffff;
}

/* ==========================================================================
   STEPS (How it works)
   ========================================================================== */
.lp-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .lp-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.lp-step-card {
  background: #feffff;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .lp-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  }
}

.lp-step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: #00558a;
  color: #feffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 85, 138, 0.3);
}

.lp-step-icon {
  font-size: 40px;
  color: #00558a;
  margin-bottom: 16px;
}

.lp-step-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 8px;
}

.lp-step-card p {
  font-size: 15px;
  color: #445b65;
  line-height: 1.6;
}

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */
.lp-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .lp-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media screen and (min-width: 1200px) {
  .lp-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-feature-icon {
  font-size: 36px;
  color: #00558a;
  margin-bottom: 16px;
}

/* ==========================================================================
   PAIN POINTS GRID
   ========================================================================== */
.lp-pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .lp-pain-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.lp-pain-card {
  background: #feffff;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #ef4444;
}

.lp-pain-icon {
  font-size: 40px;
  color: #ef4444;
  margin-bottom: 16px;
}

.lp-pain-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 8px;
}

.lp-pain-card p {
  font-size: 15px;
  color: #445b65;
  line-height: 1.6;
}

/* ==========================================================================
   SAVINGS CARDS (Compare page)
   ========================================================================== */
.lp-savings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .lp-savings-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
  }
}

.lp-savings-card {
  background: #feffff;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.lp-savings-card.lp-savings-featured {
  background: linear-gradient(135deg, #00558a 0%, #1982c6 100%);
  color: #feffff;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .lp-savings-card.lp-savings-featured {
    padding-top: 52px;
    padding-bottom: 52px;
    margin-top: -12px;
    margin-bottom: -12px;
    box-shadow: 0 8px 30px rgba(0, 85, 138, 0.3);
  }
}

.lp-savings-scenario {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.lp-savings-detail {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.lp-savings-amount {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.lp-savings-card:not(.lp-savings-featured) .lp-savings-amount {
  color: #00558a;
}

.lp-savings-label {
  font-size: 14px;
  opacity: 0.7;
}

/* ==========================================================================
   FREE LOOKUP (Free Check page)
   ========================================================================== */
.lp-lookup-card {
  background: #feffff;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  max-width: 700px;
  margin: -20px auto 0;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 767px) {
  .lp-lookup-card {
    padding: 28px 20px;
    margin-top: -10px;
  }
}

.lp-lookup-title {
  font-size: 24px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-lookup-title i {
  color: #00558a;
}

.lp-lookup-desc {
  font-size: 15px;
  color: #445b65;
  margin-bottom: 24px;
  line-height: 1.6;
}

.lp-lookup-form {
  margin-bottom: 0;
}

.lp-lookup-input-wrap {
  display: flex;
  gap: 12px;
}

@media screen and (max-width: 599px) {
  .lp-lookup-input-wrap {
    flex-direction: column;
  }
}

.lp-lookup-input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid #e8f1f8;
  border-radius: 14px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: #151d20;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.lp-lookup-input:focus {
  outline: none;
  border-color: #00558a;
}

.lp-lookup-btn {
  padding: 16px 28px;
  background: #00558a;
  color: #feffff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-lookup-btn:hover {
  background: #1982c6;
  transform: translateY(-1px);
}

.lp-lookup-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.lp-lookup-btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #feffff;
  border-radius: 50%;
  animation: lp-spin 0.6s linear infinite;
}

.lp-lookup-btn.loading .spinner {
  display: inline-block;
}

.lp-lookup-btn.loading .btn-text {
  display: none;
}

@keyframes lp-spin {
  to { transform: rotate(360deg); }
}

.lp-lookup-error {
  display: none;
  color: #ef4444;
  font-size: 14px;
  margin-top: 10px;
  font-weight: 500;
}

/* ---------- Result card ---------- */
.lp-result {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid #e8f1f8;
}

.lp-result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 20px;
}

.lp-result-header i {
  color: #00558a;
  font-size: 22px;
}

.lp-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media screen and (min-width: 600px) {
  .lp-result-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lp-result-item {
  background: #f0f4f8;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.lp-result-label {
  font-size: 12px;
  color: #445b65;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.lp-result-value {
  font-size: 22px;
  font-weight: 700;
  color: #00558a;
}

.lp-result-upsell {
  background: linear-gradient(135deg, #e8f1f8 0%, #f0f4f8 100%);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 2px solid #00558a;
}

.lp-result-upsell p {
  font-size: 15px;
  color: #445b65;
  margin-bottom: 16px;
  line-height: 1.6;
}

.lp-result-upsell strong {
  color: #151d20;
}

/* ---------- Enhanced upsell ---------- */
.lp-result-upsell-prominent {
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.lp-upsell-warning {
  background: #fef3cd;
  color: #856404;
  padding: 16px 24px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lp-upsell-warning i {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.lp-upsell-offer {
  padding: 24px;
}

.lp-upsell-offer h3 {
  font-size: 20px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 16px;
}

.lp-upsell-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.lp-upsell-benefits li {
  padding: 6px 0;
  font-size: 14px;
  color: #445b65;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-upsell-benefits li i {
  color: #22c55e;
  font-size: 16px;
  flex-shrink: 0;
}

.lp-upsell-cta {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */
.lp-trust-bar {
  background-color: #feffff;
  padding: 28px 20px;
  border-bottom: 1px solid #e8f1f8;
}

.lp-trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.lp-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #445b65;
  white-space: nowrap;
}

.lp-trust-badge i {
  font-size: 20px;
  color: #00558a;
}

@media screen and (min-width: 768px) {
  .lp-trust-bar-inner {
    gap: 40px;
  }

  .lp-trust-badge {
    font-size: 15px;
  }
}
