/* ==========================================================================
   UK GEO Agency Website Styles
   ========================================================================== */

/* == COLOUR PALETTE == */
:root {
  --bg-primary: #111111;           /* near-black navy — main dark background */
  --bg-secondary: #0D1829;         /* slightly lighter navy for cards/sections */
  --bg-card: #111E33;              /* card backgrounds */
  --bg-light: #F8FAFF;             /* off-white for light sections */

  --accent: #CCFF00;               /* electric blue — primary CTA colour */
  --accent-hover: #B3E600;         /* darker blue on hover */
  --accent-orange: #F97316;        /* secondary accent for badges/highlights */

  --text-primary: #FFFFFF;         /* main text on dark */
  --text-secondary: #94A3B8;       /* muted text, captions, descriptions */
  --text-dark: #0F172A;            /* text on light sections */
  --text-muted-dark: #475569;      /* muted on light sections */

  --border: rgba(255,255,255,0.08); /* subtle borders on dark */
  --border-accent: rgba(59,130,246,0.3); /* blue-tinted borders */

  --success: #22C55E;
  --warning: #F59E0B;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(59,130,246,0.15);
  --transition: all 0.2s ease;
}

/* == TYPOGRAPHY == */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Syne:wght@700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  margin-top: 0;
  color: var(--text-primary);
}

.text-hero { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.text-h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; }
.text-h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; }
.text-h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; }
.text-body { font-size: 1rem; line-height: 1.7; font-weight: 400; }
.text-sm { font-size: 0.875rem; line-height: 1.6; }
.text-xs { font-size: 0.75rem; letter-spacing: 0.08em; }

/* == LAYOUT == */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.section { padding: 96px 0; }
.section-light { background: var(--bg-light); color: var(--text-dark); }
.section-light h1, .section-light h2, .section-light h3, .section-light h4, .section-light h5, .section-light h6 { color: var(--text-dark); }
.section-light .text-secondary { color: var(--text-muted-dark); }
.section-dark { background: var(--bg-primary); }
.section-card { background: var(--bg-secondary); }

/* == BUTTONS == */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: none; transition: var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #111111; border-radius: 50px; font-weight: 800; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(204,255,0,0.2); }
.btn-secondary { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.25); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-orange { background: var(--accent-orange); color: white; }
.btn-orange:hover { background: #EA6B0F; transform: translateY(-1px); }

/* == CARDS == */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.card-light {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* == BADGES == */
.badge {
  display: inline-block; padding: 4px 12px;
  border-radius: 99px; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-blue { background: rgba(59,130,246,0.15); color: #93C5FD; border: 1px solid rgba(59,130,246,0.3); }
.badge-orange { background: rgba(249,115,22,0.15); color: #FDBA74; border: 1px solid rgba(249,115,22,0.3); }
.badge-green { background: rgba(34,197,94,0.15); color: #86EFAC; border: 1px solid rgba(34,197,94,0.3); }
.badge-popular { background: var(--accent-orange); color: white; font-size: 0.7rem; }

/* == PRICING CARDS == */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.pricing-card .price {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1;
}
.pricing-card .price-suffix { font-size: 1rem; color: var(--text-secondary); font-weight: 400; }
.pricing-card .feature-list { list-style: none; padding: 0; margin: 24px 0; }
.pricing-card .feature-list li { 
  padding: 8px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-secondary); font-size: 0.9rem;
}
.pricing-card .feature-list li::before { content: "✓"; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* == COMPARISON TABLE == */
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th {
  background: var(--bg-card); color: white;
  padding: 16px 20px; text-align: left;
  font-family: 'Poppins', sans-serif; font-size: 0.85rem; letter-spacing: 0.05em;
  border-bottom: 2px solid var(--accent);
}
.comparison-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-size: 0.9rem; }
.comparison-table tr:first-child td { color: white; font-weight: 500; }
.comparison-table .highlight { color: var(--success); font-weight: 700; }
.comparison-table .check::before { content: "✓ "; color: var(--success); }
.comparison-table .cross::before { content: "✗ "; color: #EF4444; }

/* == STATS BAR == */
.stats-bar {
  display: flex; gap: 0; border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-card);
}
.stat-item {
  flex: 1; padding: 20px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value { font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 800; color: white; }
.stat-label { font-size: 0.75rem; color: var(--text-secondary); margin-top: 4px; }

/* == TICKER == */
.ticker-wrap {
  overflow: hidden; background: var(--accent); padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker-inner {
  display: flex; gap: 48px;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-inner span {
  white-space: nowrap; font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: 0.85rem; color: var(--bg-primary); letter-spacing: 0.04em; text-transform: uppercase;
}
.ticker-inner span::after { content: " ·"; margin-left: 24px; opacity: 0.5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* == SECTION LABELS == */
.section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px; display: block;
}

/* == FAQ ACCORDION == */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; padding: 20px 0; text-align: left; background: none; border: none;
  color: white; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question .arrow { font-size: 1.2rem; transition: transform 0.3s ease; }
.faq-question.open .arrow { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 0 20px 0; color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; margin: 0; }

/* == MOBILE NAVIGATION == */
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: var(--bg-primary); z-index: 1001;
  flex-direction: column; align-items: center; justify-content: center; gap: 40px;
}
.nav-overlay.open { display: flex; }
.nav-overlay a:not(.btn) { font-family: 'DM Sans', sans-serif; font-size: 1.5rem; font-weight: 500; color: white; text-decoration: none; transition: var(--transition); }
.nav-overlay a:not(.btn):hover { color: var(--accent); }
.nav-overlay .btn { font-size: 1.1rem; padding: 16px 32px; width: auto; max-width: 80%; justify-content: center; font-weight: 600; margin-top: 16px; }

/* == UTILITY CLASSES == */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-secondary); }
.text-white { color: white; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-48 { margin-top: 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* == RESPONSIVE BREAKPOINTS == */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .btn-lg { width: 100%; justify-content: center; }
}

/* == ANIMATIONS == */
.animate-fadeup {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  visibility: hidden;
}
.animate-fadeup.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* == SCROLLBAR == */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }

/* == HEADER == */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(7, 13, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.desktop-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 20px 0;
}
.nav-link:hover {
  color: white;
}
.nav-link.active {
  color: white;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}
/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(17, 30, 51, 0.95);
  backdrop-filter: blur(16px);
  min-width: 260px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  z-index: 1000;
  padding: 8px 0;
}
.nav-dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}
.dropdown-content a {
  color: var(--text-secondary);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
}
.dropdown-content a:hover {
  background-color: rgba(255,255,255,0.05);
  color: white;
}
.header-actions {
  display: flex;
  align-items: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background-color: white;
  transition: var(--transition);
}
.nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

@media (max-width: 768px) {
  .desktop-nav, .desktop-btn, .header-actions .btn {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
}

/* == FOOTER == */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;
}
.footer-link {
  display: block;
  font-size: 0.875rem;
  color: #94A3B8; /* Light grey for dark background */
  line-height: 2.2;
  text-decoration: none;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.footer-link:hover {
  color: #FFFFFF; /* White on hover */
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #94A3B8; /* Light grey copyright text */
  font-family: 'DM Sans', sans-serif;
}
.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social-link {
  color: #94A3B8; /* Light grey default */
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer-social-link:hover {
  color: #FFFFFF !important; /* White hover */
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* == MOBILE & ACCESSIBILITY FIXES == */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
  .text-h1 {
    font-size: 2.2rem;
  }
}

.ticker-inner:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-inner {
    animation: none;
  }
  .animate-fadeup {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.btn {
  min-height: 44px;
}


.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline-dark {
  background: transparent;
  color: var(--bg-primary);
  border: 1.5px solid var(--bg-primary);
}
.btn-outline-dark:hover {
  background: var(--bg-primary);
  color: white;
}


/* == FATJOE REDESIGN CLASSES == */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-check-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}
.hero-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.hero-check-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  background: rgba(204,255,0,0.1);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.trust-bar {
  background: white;
  padding: 24px 0;
  border-bottom: 1px solid #eaeaea;
}
.marquee {
  display: flex;
  width: max-content;
  animation: scroll-marquee 25s linear infinite;
}
.marquee:hover {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px; /* Matches gap for seamless loop */
}
.trust-bar img {
  height: 32px;
  opacity: 0.4;
  filter: grayscale(100%);
}
@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.marketplace-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  background-size: cover;
  background-position: center;
}
.marketplace-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.marketplace-card h4 {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  margin: 0 0 8px 0;
}
.marketplace-card p {
  color: rgba(255,255,255,0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  margin: 0;
}
.icon-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.icon-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: white;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eaeaea;
}
.icon-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: var(--accent);
}
.icon-box .icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.5rem;
}
.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: center;
}
.product-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  background: white;
  border: 1px solid #eaeaea;
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body, html {
  overflow-x: hidden;
}

.testimonial-stat {
  font-size: clamp(3.5rem, 12vw, 5rem);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: #111;
  line-height: 1;
}
.bottom-cta-box {
  background: #111;
  border-radius: 24px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.header { background: #111111; border-bottom: none; }

.text-dark { color: #111111; }
.text-muted-dark { color: #555555; }




/* == RESPONSIVE HERO SPLIT == */
@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .hero-split > div {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-split p {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-split .flex-center {
    justify-content: center !important;
  }
  .hero-check-list {
    display: inline-block !important;
    text-align: left !important;
    margin: 24px auto !important;
  }
}




/* == RESPONSIVE GRID OVERRIDES == */
@media (max-width: 1024px) {
  .marketplace-grid, .icon-box-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 580px) {
  .marketplace-grid, .icon-box-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .marketplace-card {
    height: 280px !important;
  }
}


/* == GLOBAL RESPONSIVE MEDIA PATCHES == */
img {
  max-width: 100%;
  height: auto;
}

/* Section Spacing on Mobile */
@media (max-width: 768px) {
  .section {
    padding: 60px 0 !important; /* Stack smaller sections nicely */
  }
  
  /* Prevent large lists from spilling */
  ul {
    padding-left: 20px !important;
  }
}

/* Mobile Button Alignment and Spacing */
@media (max-width: 480px) {
  .flex-center, .flex-between {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
  }
  
  .flex-between .btn, .flex-center .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Pricing Breakdown Comparison Tables */
@media (max-width: 900px) {
  .comparison-table {
    min-width: 800px !important;
    display: table !important;
  }
}

/* Extra Mobile Spacing and Grid Enhancements */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  .product-features {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .product-features-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  div[style*="padding: 48px"] {
    padding: 24px !important;
  }
  .btn, .btn-lg {
    white-space: normal !important;
    text-align: center !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .card, .card-light, .pricing-card, .blog-card, .responsive-card-padding {
    padding: 24px !important; /* Maximizes horizontal reading space */
  }
  .bottom-cta-box {
    padding: 40px 24px !important; /* Prevents text squeezing */
    text-align: center !important;
  }
  .bottom-cta-box h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .marquee-content {
    gap: 32px !important;
    padding-right: 32px !important;
  }
  .trust-bar img {
    height: 24px !important;
  }
  .trust-bar span {
    font-size: 1.25rem !important;
  }
}

/* == PREFERRED SOURCE BADGE == */
.preferred-source-badge {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-glow);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition);
}
.preferred-source-badge:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background-color: rgba(17, 30, 51, 0.95);
}
.preferred-source-badge .badge-icon {
    font-size: 1.2rem;
}
.preferred-source-badge .badge-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}
@media (max-width: 768px) {
    .preferred-source-badge {
        bottom: 16px;
        left: 16px;
        right: 16px;
        justify-content: center;
    }
}
