/* ==========================================================================
   FloodCert Marketing Pages — Design System
   Colors: --bg-header:#00558a  --light-blue:#1982c6  --gray:#445b65
           --light:#e8f1f8  --white:#feffff  --black:#151d20
   Font:   Poppins 400/500/600
   ========================================================================== */

/* ---------- Reset / Global ---------- */
body {
  overflow-x: hidden;
}

/* ---------- Full-width breakout ---------- */
.mktg-full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ---------- Section spacing ---------- */
.mktg-section {
  padding: 60px 20px;
}

@media screen and (min-width: 768px) {
  .mktg-section {
    padding: 80px 40px;
  }
}

@media screen and (min-width: 1200px) {
  .mktg-section {
    padding: 100px 60px;
  }
}

.mktg-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Section Headers ---------- */
.mktg-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.mktg-section-title {
  font-size: 28px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 12px;
}

@media screen and (min-width: 768px) {
  .mktg-section-title {
    font-size: 36px;
  }
}

@media screen and (min-width: 1200px) {
  .mktg-section-title {
    font-size: 42px;
  }
}

.mktg-section-subtitle {
  font-size: 16px;
  color: #445b65;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@media screen and (min-width: 768px) {
  .mktg-section-subtitle {
    font-size: 18px;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.mktg-hero {
  background: linear-gradient(135deg, #00558a 0%, #1982c6 100%);
  color: #feffff;
  text-align: center;
  padding: 60px 20px;
}

@media screen and (min-width: 768px) {
  .mktg-hero {
    padding: 80px 40px;
  }
}

@media screen and (min-width: 1200px) {
  .mktg-hero {
    padding: 100px 60px;
  }
}

.mktg-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.mktg-hero h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

@media screen and (min-width: 768px) {
  .mktg-hero h1 {
    font-size: 44px;
    margin-bottom: 20px;
  }
}

@media screen and (min-width: 1200px) {
  .mktg-hero h1 {
    font-size: 56px;
  }
}

.mktg-hero p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 32px;
}

@media screen and (min-width: 768px) {
  .mktg-hero p {
    font-size: 18px;
  }
}

/* Hero feature pills */
.mktg-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.mktg-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 14px;
  backdrop-filter: blur(10px);
  color: #feffff;
}

@media screen and (min-width: 768px) {
  .mktg-hero-pill {
    font-size: 16px;
  }
}

.mktg-hero-pill i {
  font-size: 18px;
}

/* Hero CTAs */
.mktg-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.mktg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #feffff;
  color: #00558a;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mktg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.mktg-btn-primary i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.mktg-btn-primary:hover i {
  transform: translateX(4px);
}

.mktg-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: #feffff;
  padding: 16px 32px;
  border: 2px solid #feffff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mktg-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Solid variant (for use on light backgrounds) */
.mktg-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #00558a;
  color: #feffff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 85, 138, 0.3);
}

.mktg-btn-solid:hover {
  background-color: #1982c6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 85, 138, 0.4);
}

.mktg-btn-solid i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.mktg-btn-solid:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.mktg-stats {
  background-color: #feffff;
  padding: 48px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.mktg-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .mktg-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mktg-stat-item {
  text-align: center;
}

.mktg-stat-number {
  font-size: 40px;
  font-weight: 700;
  color: #00558a;
  line-height: 1;
  margin-bottom: 8px;
}

@media screen and (min-width: 768px) {
  .mktg-stat-number {
    font-size: 48px;
  }
}

.mktg-stat-label {
  font-size: 14px;
  color: #445b65;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .mktg-stat-label {
    font-size: 16px;
  }
}

/* ==========================================================================
   CARD SYSTEM
   ========================================================================== */
.mktg-card {
  background-color: #feffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.mktg-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 12px;
}

.mktg-card-text {
  font-size: 15px;
  color: #445b65;
  line-height: 1.6;
}

.mktg-card-link {
  color: #00558a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.mktg-card-link:hover {
  color: #1982c6;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.mktg-testimonials {
  background-color: #e8f1f8;
}

.mktg-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.mktg-testimonial-card {
  background-color: #feffff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.mktg-testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #fbbf24;
  font-size: 20px;
}

.mktg-testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: #445b65;
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}

.mktg-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mktg-testimonial-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.mktg-testimonial-photo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #e8f1f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00558a;
  font-size: 20px;
}

.mktg-testimonial-info strong {
  display: block;
  font-size: 16px;
  color: #151d20;
  font-weight: 600;
}

.mktg-testimonial-info span {
  font-size: 14px;
  color: #445b65;
}

/* ==========================================================================
   CASE STUDY CARDS
   ========================================================================== */
.mktg-case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .mktg-case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

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

.mktg-cs-card {
  background-color: #feffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.mktg-cs-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mktg-cs-card-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #00558a 0%, #1982c6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #feffff;
  font-size: 48px;
}

.mktg-cs-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mktg-cs-badge {
  display: inline-block;
  background-color: #e8f1f8;
  color: #00558a;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.mktg-cs-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 8px;
}

.mktg-cs-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mktg-cs-card-title a:hover {
  color: #00558a;
}

.mktg-cs-card-excerpt {
  font-size: 15px;
  color: #445b65;
  line-height: 1.6;
  flex: 1;
}

.mktg-cs-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #00558a;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  margin-top: 16px;
  transition: gap 0.2s ease;
}

.mktg-cs-card-link:hover {
  gap: 10px;
}

/* ---------- Case Study Detail ---------- */
.mktg-cs-detail-hero {
  background: linear-gradient(135deg, #00558a 0%, #1982c6 100%);
  color: #feffff;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.mktg-cs-detail-hero.has-image {
  background-size: cover;
  background-position: center;
}

.mktg-cs-detail-hero.has-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 85, 138, 0.75);
}

.mktg-cs-detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .mktg-cs-detail-hero {
    padding: 80px 40px;
  }
}

.mktg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 24px;
  opacity: 0.85;
}

.mktg-breadcrumb a {
  color: #feffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.mktg-breadcrumb a:hover {
  opacity: 0.7;
}

.mktg-breadcrumb span {
  opacity: 0.6;
}

.mktg-cs-detail-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .mktg-cs-detail-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.mktg-cs-detail-stat {
  background: #feffff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.mktg-cs-detail-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #00558a;
  line-height: 1;
  margin-bottom: 6px;
}

.mktg-cs-detail-stat-label {
  font-size: 13px;
  color: #445b65;
  font-weight: 500;
}

.mktg-cs-content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

@media screen and (min-width: 768px) {
  .mktg-cs-content-section {
    padding: 48px 40px;
  }
}

.mktg-cs-content-block {
  margin-bottom: 48px;
}

.mktg-cs-content-block:last-child {
  margin-bottom: 0;
}

.mktg-cs-content-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 16px;
}

.mktg-cs-content-heading i {
  color: #00558a;
  font-size: 28px;
}

.mktg-cs-content-text {
  font-size: 16px;
  color: #445b65;
  line-height: 1.8;
}

.mktg-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00558a;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: gap 0.2s ease;
}

.mktg-back-link:hover {
  gap: 12px;
}

/* ==========================================================================
   PRICING CARDS
   ========================================================================== */
.mktg-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.mktg-pricing-card {
  background-color: #feffff;
  border-radius: 20px;
  padding: 40px 32px;
  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;
  display: flex;
  flex-direction: column;
}

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

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

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

.mktg-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fbbf24;
  color: #151d20;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.mktg-pricing-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mktg-pricing-desc {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 24px;
}

.mktg-pricing-price {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1;
}

.mktg-pricing-card:not(.featured) .mktg-pricing-price {
  color: #00558a;
}

.mktg-pricing-period {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 32px;
}

.mktg-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}

.mktg-pricing-features li {
  padding: 10px 0;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mktg-pricing-card.featured .mktg-pricing-features li {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.mktg-pricing-features li:last-child {
  border-bottom: none;
}

.mktg-pricing-features li i {
  color: #22c55e;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.mktg-pricing-card.featured .mktg-pricing-features li i {
  color: #fbbf24;
}

.mktg-pricing-cta {
  margin-top: auto;
}

.mktg-pricing-card:not(.featured) .mktg-btn-solid {
  width: 100%;
  justify-content: center;
}

.mktg-pricing-card.featured .mktg-btn-primary {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.mktg-comparison-section {
  margin-bottom: 48px;
}

.mktg-comparison-section:last-child {
  margin-bottom: 0;
}

.mktg-comparison-heading {
  font-size: 24px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 20px;
}

.mktg-comparison-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.mktg-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #feffff;
  min-width: 500px;
}

.mktg-comparison-table th {
  background-color: #00558a;
  color: #feffff;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
}

.mktg-comparison-table th:first-child {
  border-radius: 16px 0 0 0;
}

.mktg-comparison-table th:last-child {
  border-radius: 0 16px 0 0;
}

.mktg-comparison-table td {
  padding: 14px 20px;
  font-size: 15px;
  color: #445b65;
  border-bottom: 1px solid #e8f1f8;
}

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

.mktg-comparison-table tr:nth-child(even) {
  background-color: #f8fbfd;
}

.mktg-comparison-table .check {
  color: #22c55e;
  font-weight: 700;
  font-size: 18px;
}

.mktg-comparison-table .cross {
  color: #ef4444;
  font-weight: 700;
  font-size: 18px;
}

.mktg-table-cta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #0066a3;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.mktg-table-cta:hover {
  color: #003d63;
  text-decoration: underline;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.mktg-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.mktg-faq-item {
  background-color: #feffff;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.mktg-faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: #151d20;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color 0.2s ease;
}

.mktg-faq-item summary::-webkit-details-marker {
  display: none;
}

.mktg-faq-item summary::after {
  content: '\ea4e'; /* ri-arrow-down-s-line */
  font-family: 'remixicon';
  font-size: 22px;
  color: #00558a;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.mktg-faq-item[open] summary::after {
  transform: rotate(180deg);
}

.mktg-faq-item summary:hover {
  color: #00558a;
}

.mktg-faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: #445b65;
  line-height: 1.7;
}

/* ==========================================================================
   ROI CALCULATOR
   ========================================================================== */
.mktg-calculator-card {
  background-color: #feffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .mktg-calculator-card {
    padding: 24px;
  }
}

.mktg-calc-field {
  margin-bottom: 24px;
}

.mktg-calc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #151d20;
  margin-bottom: 8px;
}

.mktg-calc-label i {
  color: #00558a;
  font-size: 20px;
}

.mktg-calc-helper {
  font-size: 13px;
  color: #445b65;
  margin-bottom: 8px;
}

.mktg-calc-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e8f1f8;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: #151d20;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.mktg-calc-input:focus {
  outline: none;
  border-color: #00558a;
}

.mktg-calc-input.error {
  border-color: #ef4444;
}

.mktg-calc-error {
  color: #ef4444;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.mktg-calc-btn {
  width: 100%;
  padding: 16px;
  background-color: #00558a;
  color: #feffff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mktg-calc-btn:hover {
  background-color: #1982c6;
  transform: translateY(-2px);
}

.mktg-calc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.mktg-calc-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: mktg-spin 0.6s linear infinite;
}

.mktg-calc-btn.loading .spinner {
  display: inline-block;
}

.mktg-calc-btn.loading .btn-text {
  display: none;
}

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

/* Results */
.mktg-calc-results {
  display: none;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid #e8f1f8;
}

.mktg-calc-results.visible {
  display: block;
}

.mktg-calc-results-title {
  font-size: 20px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 24px;
  text-align: center;
}

.mktg-calc-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
  .mktg-calc-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mktg-calc-result-card {
  background-color: #e8f1f8;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.mktg-calc-result-value {
  font-size: 32px;
  font-weight: 700;
  color: #00558a;
  line-height: 1;
  margin-bottom: 6px;
}

.mktg-calc-result-label {
  font-size: 14px;
  color: #445b65;
  font-weight: 500;
}

.mktg-calc-results-cta {
  text-align: center;
  margin-top: 24px;
}

/* ==========================================================================
   ADMIN DASHBOARD
   ========================================================================== */
.mktg-admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .mktg-admin-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mktg-admin-stat-card {
  background-color: #feffff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mktg-admin-stat-icon {
  font-size: 32px;
  color: #00558a;
  margin-bottom: 12px;
}

.mktg-admin-stat-value {
  font-size: 36px;
  font-weight: 700;
  color: #151d20;
  line-height: 1;
  margin-bottom: 6px;
}

.mktg-admin-stat-label {
  font-size: 14px;
  color: #445b65;
  font-weight: 500;
}

.mktg-admin-table-wrap {
  overflow-x: auto;
  background-color: #feffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mktg-admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.mktg-admin-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: #445b65;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e8f1f8;
}

.mktg-admin-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: #151d20;
  border-bottom: 1px solid #f0f4f8;
}

.mktg-admin-table tr:last-child td {
  border-bottom: none;
}

.mktg-event-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.mktg-event-badge.page_view {
  background-color: #e8f1f8;
  color: #00558a;
}

.mktg-event-badge.cta_click {
  background-color: #fef3cd;
  color: #856404;
}

.mktg-event-badge.signup {
  background-color: #d1fae5;
  color: #065f46;
}

.mktg-event-badge.purchase {
  background-color: #dbeafe;
  color: #1e40af;
}

/* ==========================================================================
   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;
  }
}

/* ==========================================================================
   EMPTY STATES
   ========================================================================== */
.mktg-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.mktg-empty-state-icon {
  font-size: 48px;
  color: #00558a;
  margin-bottom: 16px;
  opacity: 0.5;
}

.mktg-empty-state-title {
  font-size: 20px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 8px;
}

.mktg-empty-state-text {
  font-size: 15px;
  color: #445b65;
  max-width: 400px;
  margin: 0 auto;
}

/* ==========================================================================
   CTA BANNER (bottom of pages)
   ========================================================================== */
.mktg-cta-banner {
  background: linear-gradient(135deg, #00558a 0%, #1982c6 100%);
  color: #feffff;
  text-align: center;
  padding: 60px 20px;
}

@media screen and (min-width: 768px) {
  .mktg-cta-banner {
    padding: 80px 40px;
  }
}

.mktg-cta-banner-inner {
  max-width: 700px;
  margin: 0 auto;
}

.mktg-cta-banner h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

@media screen and (min-width: 768px) {
  .mktg-cta-banner h2 {
    font-size: 36px;
  }
}

.mktg-cta-banner p {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 32px;
  line-height: 1.6;
}

@media screen and (min-width: 768px) {
  .mktg-cta-banner p {
    font-size: 18px;
  }
}

.mktg-cta-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ==========================================================================
   VIEW ALL LINK
   ========================================================================== */
.mktg-view-all {
  text-align: center;
  margin-top: 32px;
}

.mktg-view-all a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00558a;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.mktg-view-all a:hover {
  gap: 12px;
}

/* ==========================================================================
   PARTNER PAGE
   ========================================================================== */

/* Persona grid — 5 profession cards */
.mktg-partner-persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .mktg-partner-persona-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1200px) {
  .mktg-partner-persona-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.mktg-partner-persona-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #e8f1f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00558a;
  font-size: 28px;
  margin: 0 auto 16px;
}

/* Steps grid — 3-step process */
.mktg-partner-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

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

.mktg-partner-step {
  text-align: center;
}

.mktg-partner-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00558a 0%, #1982c6 100%);
  color: #feffff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* Partner models grid — 2-column */
.mktg-partner-models-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .mktg-partner-models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mktg-card--featured {
  border: 2px solid #00558a;
  box-shadow: 0 8px 30px rgba(0, 85, 138, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
}

.mktg-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #00558a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.mktg-partner-models-grid .mktg-card {
  display: flex;
  flex-direction: column;
}

.mktg-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: #00558a;
  padding: 14px 32px;
  border: 2px solid #00558a;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mktg-btn-outline:hover {
  background-color: #00558a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 85, 138, 0.3);
}

.mktg-btn-outline i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.mktg-btn-outline:hover i {
  transform: translateX(4px);
}

.mktg-partner-model-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #e8f1f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00558a;
  font-size: 24px;
  margin-bottom: 16px;
}

/* Form result feedback */
.mktg-partner-result {
  display: none;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 16px;
}

.mktg-partner-result.success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
}

.mktg-partner-result.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
}

/* Select element fix */
select.mktg-calc-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23445b65' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ==========================================================================
   SUPPORT / HELP CENTER PAGE
   ========================================================================== */

/* Topic cards grid */
.mktg-support-topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .mktg-support-topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.mktg-support-topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background-color: #feffff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

  .mktg-support-topic-card:hover .mktg-support-topic-icon {
    background-color: #00558a;
    color: #feffff;
  }
}

.mktg-support-topic-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: #e8f1f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00558a;
  font-size: 28px;
  margin-bottom: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mktg-support-topic-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 8px;
}

.mktg-support-topic-card p {
  font-size: 14px;
  color: #445b65;
  line-height: 1.5;
  margin: 0;
}

/* Contact cards grid */
.mktg-support-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .mktg-support-contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mktg-support-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background-color: #feffff;
  border-radius: 20px;
  padding: 40px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.mktg-support-contact-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00558a 0%, #1982c6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #feffff;
  font-size: 32px;
  margin-bottom: 20px;
}

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

.mktg-support-contact-card p {
  font-size: 15px;
  color: #445b65;
  line-height: 1.5;
  margin: 0;
}

.mktg-support-coming-soon {
  display: inline-block;
  background-color: #e8f1f8;
  color: #00558a;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 12px;
}

/* ==========================================================================
   SERVICE PAGES
   ========================================================================== */

/* Feature grid — 2 or 3 column */
.mktg-service-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.mktg-service-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: #e8f1f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00558a;
  font-size: 26px;
  margin-bottom: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .mktg-card:hover .mktg-service-feature-icon {
    background-color: #00558a;
    color: #feffff;
  }
}

/* Process steps — numbered horizontal flow with connecting lines */
.mktg-service-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* 4-step variant */
.mktg-service-steps-grid--4 {
  max-width: 1000px;
}

@media screen and (min-width: 768px) {
  .mktg-service-steps-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mktg-service-step {
  text-align: center;
  position: relative;
}

/* Connecting line between steps (desktop only) */
@media screen and (min-width: 768px) {
  .mktg-service-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(50% + 34px);
    width: calc(100% - 68px);
    height: 2px;
    background-color: #c4d9e8;
  }
}

.mktg-service-step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #feffff;
  border: 2px solid #00558a;
  color: #00558a;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
}

.mktg-service-step h3 {
  font-size: 17px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 6px;
}

.mktg-service-step p {
  font-size: 14px;
  color: #445b65;
  line-height: 1.5;
  margin: 0;
}

/* Use-case cards — icon + heading left-aligned */
.mktg-service-use-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .mktg-service-use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mktg-service-use-case {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: #feffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mktg-service-use-case-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #e8f1f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00558a;
  font-size: 22px;
  flex-shrink: 0;
}

.mktg-service-use-case h4 {
  font-size: 16px;
  font-weight: 600;
  color: #151d20;
  margin-bottom: 4px;
}

.mktg-service-use-case p {
  font-size: 14px;
  color: #445b65;
  line-height: 1.5;
  margin: 0;
}
