/* ============================================================
   ThriveCart Affiliate Site - Main Stylesheet
   Brand Colors:
   #011828 - Dark section background
   #023051 - Button color on light bg / icon bg
   #ffffff - Button on dark bg / Light section bg
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  /* === Brand Colors === */
  --dark-bg:       #011828;       /* dark section background */
  --brand:         #023051;       /* primary brand / button on light / icon bg */
  --brand-dark:    #011828;       /* darker shade */
  --brand-mid:     #034272;       /* slightly lighter for hover states */
  --white:         #ffffff;       /* light section bg / button on dark bg */

  /* === Derived Text Colors === */
  --text-on-dark:  #e8eef4;       /* body text on dark bg */
  --text-muted-dark: #8aa4ba;     /* muted text on dark bg */
  --text-on-light: #011828;       /* body text on light bg */
  --text-muted-light: #4a6478;    /* muted text on light bg */

  /* === Accent / Status === */
  --success:       #16a34a;
  --success-light: #22c55e;
  --warning:       #d97706;
  --danger:        #dc2626;
  --highlight:     #f59e0b;       /* gold accent for prices/savings */

  /* === Borders === */
  --border-dark:   rgba(2, 48, 81, 0.35);
  --border-light-bg: rgba(2, 48, 81, 0.15);
  --border-on-dark: rgba(255,255,255,0.10);

  /* === Shadows === */
  --shadow-sm:     0 2px 8px rgba(1,24,40,0.15);
  --shadow-md:     0 6px 24px rgba(1,24,40,0.20);
  --shadow-lg:     0 12px 40px rgba(1,24,40,0.28);
  --shadow-dark:   0 8px 32px rgba(0,0,0,0.45);

  /* === Radius / Transition === */
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     20px;
  --transition:    all 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-on-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--brand); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand-mid); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SECTION ALTERNATING — dark / light
============================================================ */
.sec-dark {
  background: var(--dark-bg);
  color: var(--text-on-dark);
}
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4, .sec-dark h5 { color: var(--white); }
.sec-dark p, .sec-dark li { color: var(--text-on-dark); }
.sec-dark .text-muted { color: var(--text-muted-dark); }

.sec-light {
  background: var(--white);
  color: var(--text-on-light);
}
.sec-light h1, .sec-light h2, .sec-light h3, .sec-light h4, .sec-light h5 { color: var(--dark-bg); }
.sec-light p, .sec-light li { color: var(--text-on-light); }
.sec-light .text-muted { color: var(--text-muted-light); }

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
  background: var(--brand);
  padding: 9px 0;
  text-align: center;
  font-size: 0.83rem;
  font-weight: 600;
  color: #fff;
}
.announcement-bar span { margin: 0 6px; }
.announcement-bar .tag {
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.announcement-bar a { color: var(--highlight); text-decoration: underline; font-weight: 700; }
.announcement-bar a:hover { color: #fff; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--dark-bg);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--brand);
}
.nav-logo .logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-menu a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-menu .badge {
  background: var(--highlight);
  color: var(--dark-bg);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 8px;
  margin-left: 4px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Nav CTA */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-nav-deal {
  background: var(--white);
  color: var(--brand) !important;
  font-weight: 700;
  font-size: 0.83rem;
  padding: 9px 18px;
  border-radius: 50px;
  white-space: nowrap;
  transition: var(--transition);
}
.btn-nav-deal:hover {
  background: var(--highlight);
  color: var(--dark-bg) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}
.mobile-menu a:hover { background: rgba(255,255,255,0.07); color: #fff; }
.mobile-menu.open { display: flex; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

/* On dark background → white button */
.btn-on-dark {
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.btn-on-dark:hover {
  background: var(--highlight);
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* On light background → brand button */
.btn-on-light {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(2,48,81,0.30);
}
.btn-on-light:hover {
  background: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1,24,40,0.35);
  color: var(--white);
}

/* Outline on dark */
.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline-dark:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

/* Outline on light */
.btn-outline-light {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline-light:hover {
  background: var(--brand);
  color: var(--white);
}

/* Sizes */
.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn-xl  { padding: 18px 44px; font-size: 1.05rem; border-radius: 60px; }
.btn-sm  { padding: 9px 18px; font-size: 0.82rem; }

/* Pulse animation */
.btn-pulse { animation: btnPulse 2.2s ease-in-out infinite; }
@keyframes btnPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Glow animation for white btn on dark */
.btn-glow {
  animation: btnGlowWhite 2.5s ease-in-out infinite;
}
@keyframes btnGlowWhite {
  0%,100% { box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
  50%      { box-shadow: 0 8px 32px rgba(255,255,255,0.35), 0 4px 16px rgba(0,0,0,0.25); }
}

/* ============================================================
   HERO — DARK, COMPACT
============================================================ */
.hero {
  background: var(--dark-bg);
  padding: 40px 0 44px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 15% 50%, rgba(2,48,81,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 85% 45%, rgba(2,48,81,0.30) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--success-light);
  border-radius: 50%;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.25} }

/* Hero heading */
.hero h1 {
  font-size: 45px;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.15;
}
.hero h1 .hl-white { color: var(--white); }
.hero h1 .hl-gold  { color: var(--highlight); }

/* Hero desc */
.hero-desc {
  font-size: 0.96rem;
  color: var(--text-muted-dark);
  margin-bottom: 18px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-desc strong { color: var(--white); }

/* Hero price box */
.hero-price-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 12px 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.hero-price-box .price-old {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  text-decoration: line-through;
}
.hero-price-box .price-new {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--highlight);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}
.hero-price-box .price-label { font-size: 0.72rem; color: var(--text-muted-dark); }
.hero-price-box .price-save {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--success-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Hero CTA */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  align-items: center;
}

/* Hero trust */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted-dark);
}
.trust-item i { color: var(--success-light); font-size: 0.85rem; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.07);
}
.hero-img-wrap img { width: 100%; border-radius: var(--radius-lg); }

/* Floating badges */
.hero-float-badge {
  position: absolute;
  background: var(--brand);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: var(--shadow-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: floatBadge 4s ease-in-out infinite;
}
.hero-float-badge.badge-top-left  { top: -16px; left: -16px; }
.hero-float-badge.badge-bottom-right { bottom: -16px; right: -16px; animation-delay: 1.5s; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

.hero-float-badge .badge-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.12);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: #fff; flex-shrink: 0;
}
.hero-float-badge .badge-title { font-size: 0.82rem; font-weight: 700; color: #fff; }
.hero-float-badge .badge-sub   { font-size: 0.7rem; color: rgba(255,255,255,0.65); }

/* ============================================================
   STATS STRIP — LIGHT
============================================================ */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--border-light-bg);
  border-bottom: 1px solid var(--border-light-bg);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
}
.stat-item {
  padding: 10px 16px;
  border-right: 1px solid var(--border-light-bg);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted-light);
  margin-top: 3px;
  font-weight: 500;
}

/* ============================================================
   SECTIONS — general
============================================================ */
section { padding: 72px 0; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
/* on dark sections */
.sec-dark .section-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.75);
}
/* on light sections */
.sec-light .section-tag {
  background: rgba(2,48,81,0.08);
  border: 1px solid rgba(2,48,81,0.18);
  color: var(--brand);
}

.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin-bottom: 12px;
}
.section-title .hl-gold { color: var(--highlight); }
.sec-light .section-title { color: var(--dark-bg); }
.sec-dark  .section-title { color: var(--white); }

.section-subtitle {
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.sec-light .section-subtitle { color: var(--text-muted-light); }
.sec-dark  .section-subtitle { color: var(--text-muted-dark); }

/* ============================================================
   DEALS — DARK section
============================================================ */
.deals-section { background: var(--dark-bg); }

/* Countdown strip */
.countdown-strip {
  background: rgba(2,48,81,0.5);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.countdown-left h4 { font-size: 0.92rem; color: var(--white); margin-bottom: 3px; }
.countdown-left p  { font-size: 0.78rem; color: var(--text-muted-dark); }

.countdown-timer { display: flex; align-items: center; gap: 8px; }
.countdown-block { text-align: center; }
.countdown-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--highlight);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 5px 12px;
  min-width: 50px;
  font-family: 'Poppins', sans-serif;
}
.countdown-label { font-size: 0.62rem; color: var(--text-muted-dark); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.countdown-sep { font-size: 1.5rem; font-weight: 900; color: rgba(255,255,255,0.35); padding-bottom: 14px; }

/* Deal cards */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.deal-card {
  background: rgba(2,48,81,0.35);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.deal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--highlight);
  opacity: 0.7;
}
.deal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.deal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.deal-badge.green  { background: rgba(34,197,94,0.13); color: var(--success-light); border: 1px solid rgba(34,197,94,0.25); }
.deal-badge.gold   { background: rgba(245,158,11,0.13); color: var(--highlight); border: 1px solid rgba(245,158,11,0.25); }
.deal-badge.white  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15); }

.deal-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 8px; font-weight: 700; }
.deal-card p  { font-size: 0.85rem; color: var(--text-muted-dark); margin-bottom: 18px; line-height: 1.6; }

.deal-price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.deal-price       { font-size: 1.8rem; font-weight: 900; color: var(--highlight); font-family: 'Poppins', sans-serif; }
.deal-price-old   { font-size: 0.88rem; color: var(--text-muted-dark); text-decoration: line-through; }
.deal-price-save  { font-size: 0.75rem; font-weight: 700; color: var(--success-light); background: rgba(34,197,94,0.1); padding: 3px 9px; border-radius: 20px; }

.deal-btn {
  display: block;
  text-align: center;
  padding: 11px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--white);
  color: var(--brand);
  transition: var(--transition);
}
.deal-btn:hover {
  background: var(--highlight);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

/* Ribbon */
.badge-ribbon {
  position: absolute;
  top: 14px; right: -6px;
  background: var(--highlight);
  color: var(--dark-bg);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 3px 12px 3px 8px;
  clip-path: polygon(0 0,100% 0,100% 100%,0 100%,6px 50%);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================================
   HOW TO CLAIM — LIGHT section
============================================================ */
.claim-section { background: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(2,48,81,0.2));
  z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 54px; height: 54px;
  background: var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 6px 18px rgba(2,48,81,0.35);
  font-family: 'Poppins', sans-serif;
}
.step-item h4 { font-size: 0.95rem; color: var(--dark-bg); margin-bottom: 6px; }
.step-item p  { font-size: 0.83rem; color: var(--text-muted-light); }

/* ============================================================
   PRICING — DARK section
============================================================ */
.pricing-section { background: var(--dark-bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  align-items: start;
}

.pricing-card {
  background: rgba(2,48,81,0.35);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card.popular {
  border-color: var(--highlight);
  box-shadow: 0 0 0 1px var(--highlight), 0 12px 40px rgba(0,0,0,0.4);
  transform: scale(1.02);
}
.pricing-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
.pricing-card.popular:hover { transform: translateY(-4px) scale(1.03); }

.popular-tag {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--highlight);
  color: var(--dark-bg);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 0 0 9px 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-card h3     { font-size: 1.05rem; color: var(--white); margin-bottom: 5px; margin-top: 8px; }
.pricing-card .plan-desc { font-size: 0.8rem; color: var(--text-muted-dark); margin-bottom: 18px; }

.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.pricing-price .amount {
  font-size: 2.2rem; font-weight: 900; color: var(--highlight);
  font-family: 'Poppins', sans-serif;
}
.pricing-price .period { font-size: 0.8rem; color: var(--text-muted-dark); }

.pricing-original { font-size: 0.82rem; color: var(--text-muted-dark); text-decoration: line-through; margin-bottom: 3px; }
.pricing-savings   { font-size: 0.76rem; color: var(--success-light); font-weight: 700; margin-bottom: 18px; }
.pricing-divider   { height: 1px; background: rgba(255,255,255,0.08); margin: 18px 0; }

.pricing-features { margin-bottom: 22px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.83rem; color: var(--text-on-dark);
  margin-bottom: 9px; line-height: 1.4;
}
.pricing-features li i.fa-check { color: var(--success-light); font-size: 0.82rem; margin-top: 2px; flex-shrink: 0; }
.pricing-features li i.fa-times  { color: var(--danger); font-size: 0.82rem; margin-top: 2px; flex-shrink: 0; }

.pricing-btn {
  display: block; text-align: center;
  padding: 12px; border-radius: 50px;
  font-weight: 700; font-size: 0.88rem;
  background: var(--white);
  color: var(--brand);
  transition: var(--transition);
}
.pricing-btn:hover { background: var(--highlight); color: var(--dark-bg); transform: translateY(-2px); }
.pricing-btn.gold-bg { background: var(--highlight); color: var(--dark-bg); }
.pricing-btn.gold-bg:hover { background: var(--white); color: var(--brand); }

/* ============================================================
   WHY THRIVECART — LIGHT section
============================================================ */
.why-section { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-content h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  color: var(--dark-bg);
  margin-bottom: 14px;
}
.why-content h2 .hl-brand { color: var(--brand); }

.why-content > p {
  font-size: 0.93rem;
  color: var(--text-muted-light);
  margin-bottom: 26px;
  line-height: 1.8;
}

.why-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.why-item { display: flex; align-items: flex-start; gap: 13px; }
.why-item-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.9rem; flex-shrink: 0;
}
.why-item-text h5 { font-size: 0.9rem; color: var(--dark-bg); margin-bottom: 2px; font-weight: 600; }
.why-item-text p  { font-size: 0.82rem; color: var(--text-muted-light); line-height: 1.6; }

.why-img-card {
  background: #f0f5f9;
  border: 1px solid var(--border-light-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-img-card img { width: 100%; }

.why-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.metric-card {
  background: var(--white);
  border: 1px solid var(--border-light-bg);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.metric-card .metric-val {
  font-size: 1.5rem; font-weight: 900; color: var(--brand);
  font-family: 'Poppins', sans-serif; line-height: 1.2;
}
.metric-card .metric-label { font-size: 0.75rem; color: var(--text-muted-light); margin-top: 3px; }

/* ============================================================
   FEATURES — DARK section
============================================================ */
.features-section { background: var(--dark-bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(2,48,81,0.35);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.feature-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--white);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 9px; }
.feature-card p  { font-size: 0.85rem; color: var(--text-muted-dark); line-height: 1.7; }
.feature-stat {
  display: inline-block;
  margin-top: 13px;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 20px;
  background: rgba(245,158,11,0.13);
  color: var(--highlight);
  border: 1px solid rgba(245,158,11,0.2);
}

/* ============================================================
   SAVINGS TABLE — LIGHT section
============================================================ */
.savings-section { background: var(--white); }

.savings-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-light-bg);
  box-shadow: var(--shadow-sm);
}
.savings-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.savings-table thead tr { background: var(--brand); }
.savings-table th {
  padding: 15px 18px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
  border-bottom: 2px solid rgba(255,255,255,0.15);
}
.savings-table th:first-child { text-align: left; }
.savings-table td {
  padding: 12px 18px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-on-light);
  border-bottom: 1px solid var(--border-light-bg);
}
.savings-table td:first-child { text-align: left; font-weight: 600; color: var(--dark-bg); }
.savings-table tr.winner td   { background: rgba(2,48,81,0.04); }
.savings-table tr.winner td:first-child { color: var(--brand); }
.savings-table tr:last-child td { border-bottom: none; }
.savings-table tbody tr:hover td { background: #f7fafc; }
.savings-table .winner-price { color: var(--success); font-weight: 800; font-size: 0.95rem; }

.insight-box {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 20px;
}
.insight-item {
  background: #f7fafc;
  border: 1px solid var(--border-light-bg);
  border-radius: var(--radius);
  padding: 18px;
}
.insight-item h4 { font-size: 0.9rem; color: var(--dark-bg); margin-bottom: 6px; }
.insight-item p  { font-size: 0.83rem; color: var(--text-muted-light); line-height: 1.6; }

/* ============================================================
   COMPARISON TABLE — DARK section
============================================================ */
.comparison-section { background: var(--dark-bg); }

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.09);
}
.comparison-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.comparison-table thead tr { background: rgba(2,48,81,0.6); }
.comparison-table th {
  padding: 16px 18px;
  text-align: center;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--white);
  border-bottom: 2px solid rgba(255,255,255,0.10);
}
.comparison-table th:first-child { text-align: left; color: rgba(255,255,255,0.65); }
.comparison-table th.tc-col { background: rgba(245,158,11,0.15); color: var(--highlight); }
.comparison-table td {
  padding: 12px 18px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comparison-table td:first-child { text-align: left; color: var(--white); font-weight: 500; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
.comparison-table td.tc-col { background: rgba(245,158,11,0.06); }
.comparison-table .check { color: var(--success-light); font-size: 1rem; }
.comparison-table .cross { color: var(--danger); font-size: 0.95rem; }

/* ============================================================
   AUDIENCE — LIGHT section
============================================================ */
.audience-section { background: var(--white); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
.audience-card {
  background: #f7fafc;
  border: 1px solid var(--border-light-bg);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
}
.audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2,48,81,0.25);
  box-shadow: var(--shadow-md);
}
.audience-icon { font-size: 2rem; margin-bottom: 10px; }
.audience-card h4 { font-size: 0.92rem; color: var(--dark-bg); margin-bottom: 6px; font-weight: 600; }
.audience-card p  { font-size: 0.8rem; color: var(--text-muted-light); line-height: 1.6; }

/* ============================================================
   INTEGRATIONS — DARK section
============================================================ */
.integrations-section { background: var(--dark-bg); }

.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.integration-tag {
  background: rgba(2,48,81,0.5);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.83rem;
  color: var(--text-on-dark);
  font-weight: 500;
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.integration-tag:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
  background: rgba(2,48,81,0.7);
  transform: translateY(-2px);
}
.integration-tag i { color: var(--highlight); font-size: 0.85rem; }

/* ============================================================
   TESTIMONIALS — LIGHT section
============================================================ */
.testimonials-section { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.testimonial-card {
  background: #f7fafc;
  border: 1px solid var(--border-light-bg);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(2,48,81,0.2);
  box-shadow: var(--shadow-md);
}
.testimonial-card .quote-icon {
  font-size: 2.8rem;
  color: var(--brand);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}
.testimonial-text { font-size: 0.88rem; color: var(--text-on-light); line-height: 1.75; margin-bottom: 18px; }
.testimonial-rating { color: var(--highlight); font-size: 0.85rem; margin-bottom: 13px; }
.testimonial-author { display: flex; align-items: center; gap: 11px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.author-name { font-size: 0.88rem; font-weight: 700; color: var(--dark-bg); }
.author-role { font-size: 0.76rem; color: var(--text-muted-light); }

/* ============================================================
   FAQ — DARK section
============================================================ */
.faq-section { background: var(--dark-bg); }

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: rgba(2,48,81,0.35);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(255,255,255,0.16); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  gap: 14px;
}
.faq-question h4 { font-size: 0.93rem; font-weight: 600; color: var(--white); flex: 1; }
.faq-icon {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.8rem;
  transition: var(--transition); flex-shrink: 0;
}
.faq-item.open .faq-icon { background: var(--white); color: var(--brand); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-answer.open { max-height: 500px; }
.faq-answer p { padding: 0 22px 18px; font-size: 0.88rem; color: var(--text-muted-dark); line-height: 1.75; }

/* ============================================================
   CTA BANNER — DARK (brand-deep)
============================================================ */
.cta-banner {
  background: var(--brand);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 80% 20%, rgba(1,24,40,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 20% 80%, rgba(1,24,40,0.35) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-inner .section-tag {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
}
.cta-banner h2 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); color: #fff; margin-bottom: 12px; }
.cta-banner > .container > .cta-inner > p {
  font-size: 1rem; color: rgba(255,255,255,0.8);
  max-width: 540px; margin: 0 auto 28px; line-height: 1.75;
}
.cta-price-display {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 14px 24px;
  margin-bottom: 28px;
  flex-wrap: wrap; justify-content: center;
}
.cta-price-display .old { font-size: 0.95rem; color: rgba(255,255,255,0.5); text-decoration: line-through; }
.cta-price-display .new { font-size: 2.2rem; font-weight: 900; color: var(--highlight); font-family: 'Poppins', sans-serif; }
.cta-price-display .badge { background: var(--success-light); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 3px 11px; border-radius: 20px; }

.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 18px; font-size: 0.8rem; color: rgba(255,255,255,0.58); }
.cta-note i { margin-right: 4px; color: var(--success-light); }

.cta-social-proof {
  display: flex; justify-content: center; gap: 40px;
  flex-wrap: wrap; margin-top: 28px;
}
.cta-social-proof .sp-item { text-align: center; }
.cta-social-proof .sp-num  { font-size: 1.7rem; font-weight: 900; color: var(--highlight); font-family: 'Poppins', sans-serif; }
.cta-social-proof .sp-lbl  { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ============================================================
   STICKY WIDGET
============================================================ */
.sticky-widget { position: fixed; bottom: 26px; right: 26px; z-index: 9998; }

.sticky-widget-trigger {
  width: 54px; height: 54px;
  background: var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(1,24,40,0.5);
  font-size: 1.3rem; color: #fff;
  position: relative;
  animation: bounceW 3s ease-in-out infinite;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.15);
}
.sticky-widget-trigger:hover { transform: scale(1.1) !important; }
.notif-dot {
  position: absolute; top: 1px; right: 1px;
  width: 14px; height: 14px;
  background: var(--success-light);
  border-radius: 50%;
  border: 2px solid var(--white);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes bounceW { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

.sticky-panel {
  position: absolute;
  bottom: 65px; right: 0;
  width: 300px;
  background: var(--white);
  border: 1px solid var(--border-light-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 16px 48px rgba(1,24,40,0.3);
  display: none;
  animation: slideUpP 0.28s ease;
}
.sticky-panel.open { display: block; }
@keyframes slideUpP { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

.sticky-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.sticky-panel-header h4 {
  font-size: 0.92rem; color: var(--dark-bg);
  display: flex; align-items: center; gap: 7px;
}
.sticky-panel-header h4 i { color: var(--highlight); }
.sticky-close {
  background: none; border: none; color: var(--text-muted-light);
  cursor: pointer; font-size: 0.95rem; padding: 3px; transition: var(--transition);
}
.sticky-close:hover { color: var(--dark-bg); }

.coupon-code-box {
  background: #f0f5f9;
  border: 2px dashed rgba(2,48,81,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: center;
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.coupon-code-box:hover { border-color: var(--brand); }
.coupon-label  { font-size: 0.7rem; color: var(--text-muted-light); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.coupon-code   { font-size: 1.2rem; font-weight: 900; color: var(--brand); font-family: 'Courier New', monospace; letter-spacing: 3px; }
.coupon-copy-hint { font-size: 0.68rem; color: var(--text-muted-light); margin-top: 3px; }

.sticky-deals { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.sticky-deal-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 11px;
  background: #f7fafc;
  border: 1px solid var(--border-light-bg);
  border-radius: var(--radius-sm);
}
.sticky-deal-item .deal-name { font-size: 0.78rem; color: var(--text-on-light); flex: 1; }
.sticky-deal-item .deal-val  { font-size: 0.82rem; font-weight: 700; color: var(--success); white-space: nowrap; margin-left: 8px; }

.sticky-panel-btn {
  display: block; text-align: center; padding: 12px;
  background: var(--brand); color: var(--white);
  border-radius: 50px; font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(2,48,81,0.35);
  transition: var(--transition);
}
.sticky-panel-btn:hover { background: var(--dark-bg); transform: translateY(-2px); color: var(--white); }
.panel-note { font-size: 0.7rem; color: var(--text-muted-light); text-align: center; margin-top: 8px; }

/* ============================================================
   FOOTER — DARK
============================================================ */
footer {
  background: var(--dark-bg);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted-dark); line-height: 1.7; max-width: 260px; margin-top: 14px; }
.footer-social { display: flex; gap: 9px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }

.footer-col h5 {
  font-size: 0.82rem; color: var(--white); font-weight: 700;
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.83rem; color: var(--text-muted-dark); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted-dark); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

.footer-affiliate-notice {
  font-size: 0.76rem; color: var(--text-muted-dark);
  text-align: center; padding: 12px 18px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  line-height: 1.65;
}

/* ============================================================
   SCROLL TO TOP
============================================================ */
.scroll-top {
  position: fixed; bottom: 26px; left: 26px;
  width: 40px; height: 40px;
  background: var(--brand);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: var(--transition); font-size: 0.9rem; z-index: 9996;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--dark-bg); transform: translateY(-2px); }

/* ============================================================
   SCROLL ANIMATIONS (injected by JS)
============================================================ */
.tc-animate { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.tc-animate.tc-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   UTILITIES
============================================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .deals-grid     { grid-template-columns: repeat(2,1fr); }
  .pricing-grid   { grid-template-columns: repeat(2,1fr); }
  .features-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .insight-box    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid         { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual       { display: none; }
  .stats-grid        { grid-template-columns: repeat(2,1fr); }
  .stat-item         { border-right: none; border-bottom: 1px solid var(--border-light-bg); }
  .stat-item:nth-child(odd)  { border-right: 1px solid var(--border-light-bg); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .steps-grid        { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before{ display: none; }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid          { grid-template-columns: 1fr; }
  .audience-grid     { grid-template-columns: repeat(2,1fr); }
  .nav-menu          { display: none; }
  .hamburger         { display: flex; }
  .insight-box       { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 52px 0; }
  .hero   { padding: 40px 0 44px; }
  .deals-grid         { grid-template-columns: 1fr; }
  .pricing-grid       { grid-template-columns: 1fr; }
  .features-grid      { grid-template-columns: 1fr; }
  .steps-grid         { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .audience-grid      { grid-template-columns: 1fr 1fr; }
  .footer-grid        { grid-template-columns: 1fr; }
  .cta-social-proof   { gap: 24px; }
  .countdown-strip    { flex-direction: column; text-align: center; }
  .sticky-panel       { width: 270px; right: -4px; }
  .hero-cta-group     { flex-direction: column; }
  .pricing-card.popular { transform: scale(1); }
  .footer-bottom      { flex-direction: column; text-align: center; }
  .hero h1            { font-size: 32px; }
  .hero-price-box     { flex-direction: column; gap: 10px; }
}

/* ============================================================
   MEGA MENU — Guides dropdown
============================================================ */
.mega-menu-wrap {
  position: relative;
}
.mega-trigger {
  display: flex !important;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.mega-trigger i { transition: transform 0.25s ease; }
.mega-menu-wrap:hover .mega-trigger i,
.mega-menu-wrap.open .mega-trigger i { transform: rotate(180deg); }

.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  background: var(--dark-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  z-index: 1000;
  animation: megaFadeIn 0.2s ease forwards;
}
@keyframes megaFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.mega-menu-wrap:hover .mega-menu,
.mega-menu.open { display: block; }

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  gap: 0;
  padding: 20px;
}
.mega-col { padding: 4px 12px; }
.mega-col:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.07); }
.mega-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted-dark);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-bottom: 2px;
  text-decoration: none;
}
.mega-link:hover { background: rgba(255,255,255,0.06); }
.mega-link > i {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.08);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: var(--highlight);
  flex-shrink: 0;
  margin-top: 2px;
}
.mega-link span { display: block; }
.mega-link span strong { font-size: 0.82rem; color: var(--white); display: block; line-height: 1.3; font-weight: 600; }
.mega-link span em { font-size: 0.73rem; color: var(--text-muted-dark); font-style: normal; line-height: 1.3; }
.mega-link:hover span strong { color: var(--highlight); }

/* Mega CTA column */
.mega-cta-col { padding: 4px 8px 4px 16px; }
.mega-deal-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.mega-deal-box .mdb-was { font-size: 0.7rem; color: var(--text-muted-dark); text-decoration: line-through; }
.mega-deal-box .mdb-price { font-size: 1.6rem; font-weight: 900; color: var(--highlight); font-family: 'Poppins', sans-serif; line-height: 1.1; }
.mega-deal-box .mdb-save { font-size: 0.68rem; color: var(--success-light); font-weight: 700; margin-bottom: 10px; display: block; }
.mega-deal-box .mdb-btn {
  display: block; background: var(--white); color: var(--brand) !important;
  font-size: 0.78rem; font-weight: 700; padding: 9px 12px;
  border-radius: 50px; text-align: center; transition: var(--transition);
  margin-bottom: 6px;
}
.mega-deal-box .mdb-btn:hover { background: var(--highlight); color: var(--dark-bg) !important; transform: translateY(-1px); }
.mega-deal-box .mdb-note { font-size: 0.66rem; color: var(--text-muted-dark); margin: 0; }
.mega-deal-box .mdb-note i { color: var(--success-light); margin-right: 3px; }

/* Mobile guides group */
.mobile-guides-group {
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 8px 0;
  margin: 4px 0;
}
.mobile-group-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted-dark);
  padding: 6px 14px; display: flex; align-items: center; gap: 6px;
}
.mobile-sub {
  padding-left: 28px !important;
  font-size: 0.85rem !important;
}
.mobile-sub.active { color: var(--highlight) !important; font-weight: 600 !important; }

/* ============================================================
   GLOBAL MOBILE FIXES — tables, videos, images
============================================================ */

/* All tables — horizontal scroll wrapper */
table { width: 100%; }
.data-table-wrap, [class*="table-wrap"] {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Video embeds — always responsive */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 20px 0;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

/* Images — never overflow */
img, video { max-width: 100%; height: auto; }
.guide-image img { width: 100%; height: auto; }

/* Container safe on small screens */
.container { padding: 0 16px; }
@media (min-width: 480px) { .container { padding: 0 20px; } }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* ---- Mobile breakpoint: 900px ---- */
@media (max-width: 900px) {
  /* Hide desktop mega-menu items in nav, show hamburger */
  .mega-menu-wrap { display: none; }
  .hamburger { display: flex; }
  .nav-menu { display: none; }

  /* Article layout: single column */
  .guide-layout { grid-template-columns: 1fr !important; }
  .guide-sidebar { position: static !important; }

  /* Feature / idea / stat grids */
  .feature-highlights { grid-template-columns: 1fr 1fr !important; }
  .stat-highlight-box { grid-template-columns: 1fr 1fr !important; }
  .metric-cards { grid-template-columns: 1fr 1fr !important; }
  .idea-grid { grid-template-columns: 1fr 1fr !important; }
  .integration-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Article CTA — stack */
  .article-cta { flex-direction: column !important; }

  /* Page hero font */
  .page-hero h1 { font-size: 34px !important; }

  /* Funnel / recovery flows */
  .funnel-flow, .recovery-flow { gap: 2px; }
  .funnel-step::after, .recovery-step::after { display: none; }

  /* Hero grid — single col */
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-visual { display: none; }

  /* Guides mega-menu becomes accordion in mobile */
}

/* ---- Mobile breakpoint: 640px ---- */
@media (max-width: 640px) {
  /* Page hero */
  .page-hero h1 { font-size: 26px !important; line-height: 1.2 !important; }
  .page-hero { padding: 26px 0 30px !important; }
  .page-hero .hero-sub { font-size: 0.9rem !important; }

  /* Announcement bar — truncate on tiny screens */
  .announcement-bar { font-size: 0.75rem; }
  .announcement-bar span:nth-child(4),
  .announcement-bar span:nth-child(5) { display: none; }

  /* Grids — all single col on 640 */
  .feature-highlights { grid-template-columns: 1fr !important; }
  .idea-grid { grid-template-columns: 1fr !important; }
  .metric-cards { grid-template-columns: 1fr !important; }
  .integration-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-highlight-box { grid-template-columns: 1fr 1fr !important; }

  /* Funnel / recovery flows — vertical stack */
  .funnel-flow, .recovery-flow { flex-direction: column !important; }
  .funnel-step, .recovery-step {
    border-radius: var(--radius-sm) !important;
    min-width: unset !important;
  }
  .funnel-step::after, .recovery-step::after { display: none !important; }

  /* Tables — force scroll hint */
  .data-table-wrap::after {
    content: '';
    display: none; /* overridden by pseudo scroll-hint below */
  }
  .data-table { min-width: 480px; }
  .data-table thead th, .data-table tbody td {
    padding: 9px 10px !important;
    font-size: 0.8rem !important;
  }

  /* Email timeline */
  .email-timeline .et-item { flex-direction: column; gap: 8px; }
  .email-timeline .et-item::before { display: none; }

  /* Step list */
  .step-list li { gap: 10px; }
  .step-list li span { font-size: 0.87rem; }

  /* Toc box */
  .toc-box { padding: 14px 16px; }
  .toc-box ol li a { font-size: 0.82rem; }

  /* Sidebar cards on mobile */
  .sidebar-card, .sidebar-data-card, .sidebar-steps-card { margin-bottom: 12px; }

  /* Stat highlight box */
  .shb-item .shb-val { font-size: 1.4rem !important; }

  /* CTA sections */
  .cta-text h4 { font-size: 0.92rem; }
  .cta-primary { font-size: 0.82rem; padding: 9px 16px; }

  /* Abandon bars */
  .ab-label { width: 110px !important; font-size: 0.72rem !important; }
  .ab-bar span { font-size: 0.65rem; }

  /* Hide hero visual on mobile */
  .hero-visual { display: none !important; }
  .hero-grid { grid-template-columns: 1fr !important; }

  /* Guide cards */
  .guides-grid { grid-template-columns: 1fr !important; }

  /* Footer fixes */
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Sticky panel */
  .sticky-panel { width: calc(100vw - 24px) !important; right: 12px !important; }

  /* Scroll top */
  .scroll-top { bottom: 70px; right: 16px; width: 38px; height: 38px; font-size: 0.75rem; }

  /* Bump/upsell section specific */
  .abandon-bars .ab-row { gap: 6px; }
}

/* ---- Very small: 380px ---- */
@media (max-width: 380px) {
  .page-hero h1 { font-size: 22px !important; }
  .btn-lg, .btn-xl { padding: 12px 20px !important; font-size: 0.88rem !important; }
  .stat-highlight-box { grid-template-columns: 1fr !important; }
  .audience-grid { grid-template-columns: 1fr !important; }
  .hero h1 { font-size: 26px !important; }
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS FIXES (2026 Audit)
   Addresses: tables, images, videos, hero sections, sidebars,
   flow diagrams, pricing grids, guide layouts, CTAs, cards
============================================================ */

/* --- Universal box model and overflow protection --- */
* { box-sizing: border-box; }
body { overflow-x: hidden; word-wrap: break-word; overflow-wrap: break-word; }

/* --- All images and videos never overflow --- */
img, video, iframe, embed, object {
  max-width: 100% !important;
  height: auto;
}

/* --- All table wrappers scroll horizontally --- */
.data-table-wrap,
.table-wrap,
[class*="-table-wrap"],
.comparison-table-wrap,
.feature-table-wrap {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  display: block;
}

/* --- All tables get a minimum width so they don't crush --- */
table {
  width: 100%;
  border-collapse: collapse;
}
.data-table-wrap table,
.table-wrap table {
  min-width: 480px;
}

/* --- Video embeds — always 16:9 responsive --- */
.video-embed,
.embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 20px 0;
}
.video-embed iframe,
.embed-responsive iframe {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

/* --- Hero stat pills wrap on small screens --- */
.hero-stat-pills,
.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* --- Hero CTA groups stack --- */
.hero-cta-row,
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* --- Callout boxes --- */
.callout-box {
  padding: 16px 18px;
  word-wrap: break-word;
}

/* --- Feature cards grid: 2-col on tablet, 1-col on phone --- */
@media (max-width: 768px) {
  .feature-highlights { grid-template-columns: 1fr 1fr !important; }
  .fh-card { padding: 18px !important; }

  /* Pricing grids */
  .pricing-page-grid { grid-template-columns: 1fr !important; }
  .pricing-grid { grid-template-columns: 1fr !important; }
  .deals-grid { grid-template-columns: 1fr !important; }

  /* Guide layout: hide sidebar on tablet */
  .guide-layout { grid-template-columns: 1fr !important; }
  .guide-sidebar { position: static !important; width: 100% !important; }

  /* Flow diagrams: stack vertically */
  .funnel-flow,
  .recovery-flow,
  .bump-flow {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  .funnel-step,
  .recovery-step,
  .bump-step {
    min-width: unset !important;
    flex: 1 !important;
    border-radius: var(--radius-sm) !important;
  }
  .funnel-step::after,
  .recovery-step::after,
  .bump-step::after { display: none !important; }

  /* Hero font size */
  .guides-hero h1 { font-size: 1.9rem !important; }
  .page-hero h1 { font-size: 30px !important; }
  .guide-hero h1 { font-size: 1.7rem !important; }

  /* Bump/upsell specific: idea-grid */
  .idea-grid { grid-template-columns: 1fr 1fr !important; }

  /* Hero meta row */
  .hero-meta,
  .hero-meta-row { flex-wrap: wrap !important; gap: 6px !important; }

  /* Step lists */
  .step-list li { align-items: flex-start !important; }

  /* TOC box */
  .toc-box { padding: 16px 18px; }

  /* Article CTA */
  .article-cta { flex-direction: column !important; gap: 10px !important; }

  /* Sidebar - append below content on tablet */
  .guide-sidebar { order: 2; }
  .guide-article { order: 1; }
}

@media (max-width: 640px) {
  /* Typography scale-down */
  .guides-hero h1 { font-size: 1.6rem !important; }
  .guide-hero h1 { font-size: 1.45rem !important; }
  .page-hero h1 { font-size: 26px !important; line-height: 1.2 !important; }
  .page-hero .hero-sub { font-size: 0.88rem !important; }

  /* Hero stat pills: smaller */
  .stat-pill {
    font-size: 0.74rem !important;
    padding: 4px 10px !important;
  }
  .hero-stat-pills { gap: 5px !important; }

  /* All cards: full width */
  .feature-highlights,
  .idea-grid,
  .metric-cards,
  .fh-card { grid-template-columns: 1fr !important; }

  /* Pricing page */
  .pricing-page-grid,
  .pricing-grid,
  .deals-grid { grid-template-columns: 1fr !important; gap: 14px !important; }

  /* Stat box: 2-col */
  .stat-highlight-box { grid-template-columns: 1fr 1fr !important; }

  /* Integration badges: 2-col */
  .integration-grid { grid-template-columns: 1fr 1fr !important; }

  /* Guide image: full width */
  .guide-image { margin-left: 0 !important; margin-right: 0 !important; }
  .guide-image img { border-radius: var(--radius-sm) !important; }

  /* Breadcrumb wrap */
  .breadcrumb-bar .container { flex-wrap: wrap !important; gap: 4px !important; }

  /* Buttons: full width on phone */
  .hero-cta-row .btn,
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Article section headings */
  .article-section h2 { font-size: 1.25rem !important; }
  .article-section h3 { font-size: 1.05rem !important; }

  /* Table cells: tighter padding */
  .data-table thead th,
  .data-table tbody td { padding: 7px 8px !important; font-size: 0.76rem !important; }

  /* Sidebar CTA card: compact */
  .sidebar-cta { padding: 18px !important; }
  .sidebar-cta h4 { font-size: 1rem !important; }

  /* Footer columns: single col */
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-bottom { flex-direction: column !important; text-align: center !important; gap: 8px !important; }

  /* Announcement bar: shorter on small screens */
  .announcement-bar { font-size: 0.72rem !important; padding: 8px 12px !important; }
  .announcement-bar span:nth-child(4),
  .announcement-bar span:nth-child(5) { display: none !important; }

  /* Sticky widget: full width */
  .sticky-panel { width: calc(100vw - 20px) !important; right: 10px !important; bottom: 70px !important; }

  /* Nav announcement: single line */
  .nav-inner { flex-wrap: nowrap !important; }

  /* Countdown: stack on mobile */
  .countdown-strip { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
  .countdown-timer { flex-wrap: wrap; }

  /* Scroll to top: smaller */
  .scroll-top { bottom: 68px !important; right: 12px !important; width: 36px !important; height: 36px !important; }

  /* Email timeline: vertical */
  .email-timeline .et-item { flex-direction: column !important; gap: 8px !important; }

  /* Funnel/recovery flow: vertical */
  .funnel-flow, .recovery-flow, .bump-flow {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* Abandon bars */
  .ab-bar-row { flex-direction: column !important; gap: 4px; }

  /* Data cards */
  .data-card-grid,
  .quick-step-cards { grid-template-columns: 1fr !important; }

  /* Comparison table note text */
  .comparison-note { font-size: 0.75rem !important; }

  /* Hero meta pills: small and wrap */
  .hero-meta-row span { font-size: 0.76rem !important; }
}

@media (max-width: 420px) {
  .page-hero h1 { font-size: 22px !important; }
  .guides-hero h1 { font-size: 1.4rem !important; }
  .btn-nav-deal { font-size: 0.72rem !important; padding: 7px 12px !important; }
  .logo-text { font-size: 0.88rem !important; }
  .stat-highlight-box { grid-template-columns: 1fr !important; }
  .mdb-price { font-size: 1.4rem !important; }
  .deals-grid,
  .pricing-page-grid { grid-template-columns: 1fr !important; }
  .cta-primary, .cta-secondary { font-size: 0.8rem !important; }
}

