/* ==========================================
   CLARITY COMPARE - BLOG PAGE STYLES
   Typography: Poppins
   Clean Article Layout Matching Reference Image
   ========================================== */

:root {
  --primary-dark: #1E293B;
  --text-body: #334155;
  --text-muted: #64748B;
  --accent-red: #DC2626;
  --btn-green: #16A34A;
  --btn-green-hover: #15803D;
  --light-bg: #F8FAFC;
  --border-color: #E2E8F0;
  --radius-pill: 9999px;
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-body);
  background-color: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Header --- */
.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  background: #FFFFFF;
}

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

.brand-logo {
  height: 44px;
  width: auto;
}

.quotezone-partner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
}

.quotezone-logo {
  height: 22px;
  width: auto;
}

/* --- Article Top Header --- */
.article-header {
  padding: 2.5rem 0 1.5rem 0;
}

.article-main-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.article-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: block;
}

.article-hero-img-wrapper {
  margin-bottom: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.article-hero-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* --- Article Body Content --- */
.article-body-content {
  max-width: 100%;
  margin: 0 auto 4rem auto;
  font-size: 1rem;
  color: var(--text-body);
}

.article-body-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-body-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 2.5rem 0 1rem 0;
}

/* Mid Article CTA Banner */
.article-mid-cta {
  background: #F1F5F9;
  border-radius: 10px;
  padding: 1.25rem 2rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-left: 4px solid var(--btn-green);
}

.article-mid-cta-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.btn-compare-now {
  background: var(--btn-green);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
}

.btn-compare-now i {
  transition: transform 0.25s ease;
}

.btn-compare-now:hover {
  background: var(--btn-green-hover);
}

.btn-compare-now:hover i {
  transform: translateX(5px);
}

/* Bullet Points with arrow */
.article-bullet-list {
  list-style: none;
  margin: 1.5rem 0;
}

.article-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.article-bullet-list li i {
  color: var(--accent-red);
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

/* --- More Articles Section --- */
.more-articles-section {
  background: var(--light-bg);
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
}

.more-articles-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

.more-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card-vertical {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.article-card-vertical:hover {
  transform: translateY(-4px);
}

.article-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;

  justify-content: space-between;
}

.article-card-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.article-card-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-card-arrow {
  color: var(--accent-red);
  font-size: 1.1rem;
  align-self: flex-start;
}

/* Social Share & Regulatory Footer */
.social-share-row {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem 0;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.share-btn:hover {
  background: var(--border-color);
}

.regulatory-box-blog {
  background: #F1F5F9;
  border-radius: 8px;
  padding: 1.25rem 1.75rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

/* --- Map Section --- */
.footer-map-section {
  width: 100%;
  line-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
}

.footer-map-section iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  border-top: 6px solid #2563EB;
  padding: 3.5rem 0 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.3fr 1.2fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: 44px;
  margin-bottom: 0.75rem;
}

.footer-about-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #94A3B8;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.15rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-circle:hover {
  background: #2563EB;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #60A5FA;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-list a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: #FFFFFF;
}

.footer-dropdown {
  margin-bottom: 0.6rem;
}

.footer-dropdown summary {
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

.footer-dropdown summary::-webkit-details-marker {
  display: none;
}

.footer-dropdown summary:hover {
  color: #60A5FA;
}

.footer-dropdown summary::after {
  content: '›';
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-dropdown[open] summary::after {
  transform: rotate(90deg);
}

.footer-sublist {
  list-style: none;
  padding-left: 0.75rem;
  margin: 0.35rem 0 0.6rem 0;
  border-left: 2px solid rgba(37, 99, 235, 0.4);
}

.footer-sublist li {
  margin-bottom: 0.35rem;
}

.footer-sublist a {
  font-size: 0.82rem;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-sublist a:hover {
  color: #FFFFFF;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #64748B;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 850px) {
  .more-articles-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0.75rem 0;
  }
  .brand-logo {
    height: 34px;
  }
  .quotezone-partner span {
    display: none !important;
  }
  .quotezone-logo {
    height: 15px !important;
    width: auto;
  }
}

/* --- Floating Buttons (Bottom Right Stacked) --- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9990;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp-btn:hover {
  background: #20BA5A;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}

.scroll-top-btn {
  position: fixed;
  bottom: 6rem;
  right: 2.15rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scroll-top-btn:hover {
  background: #1D4ED8;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.75rem 0;
  }
  .brand-logo {
    height: 34px;
  }
  .quotezone-partner span {
    display: none !important;
  }
  .quotezone-logo {
    height: 15px !important;
    width: auto;
  }
  .floating-whatsapp-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
  }
  .scroll-top-btn {
    bottom: 4.75rem;
    right: 1.35rem;
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }
}

/* --- Quote Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

/* --- Exit Intent Window Jump Modal --- */
.exit-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.exit-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.exit-modal-card {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 620px;
  padding: 2.25rem 2.25rem 2.5rem 2.25rem;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.exit-modal-overlay.active .exit-modal-card {
  transform: scale(1);
}

.exit-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  background: #2563eb;
  color: #ffffff;
  border: 3px solid #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.exit-modal-close:hover {
  background: #1d4ed8;
  transform: scale(1.1);
}

.exit-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.exit-modal-header img {
  height: 26px;
  width: auto;
}

.exit-modal-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.exit-modal-body {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto 1.75rem auto;
}

.exit-modal-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.exit-reg-box {
  display: flex;
  align-items: center;
  border: 2px solid #000000;
  border-radius: 9999px;
  overflow: hidden;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  flex: 1;
  min-width: 0;
  background: #ffffff;
  padding: 0 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.exit-reg-input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 0;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1e293b;
  font-family: inherit;
  background: transparent;
  text-align: center;
  box-sizing: border-box;
}

.exit-reg-input::placeholder {
  color: #64748b;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 1;
}

.exit-modal-btn {
  background: #16a34a;
  color: #ffffff;
  border: none;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 0 1.75rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
  box-sizing: border-box;
}

.exit-modal-btn:hover {
  background: #15803d;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4);
}
