/* ============================================================   HERO v50 — Premium Consulting Hero   Only affects: .tb-hero and its internal elements   NEVER touches .tb-section, .tb-container, .tb-title   ============================================================ */

/* Base Hero Container */

.tb-hero {
  position: relative;
  padding: 140px 0 160px;
  background: linear-gradient(135deg, #28a745 0%, #2fbf62 40%, #1d7c35 100%);
  color: #fff;
  border-bottom-left-radius: 42px;
  border-bottom-right-radius: 42px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.18);
  isolation: isolate;
}

/* Floating Glow Layer */

.tb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 60%);
  opacity: 0.55;
  z-index: -1;
}

/* Soft Moving Overlay */

.tb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: hero-move 8s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes hero-move {
  0% {
    transform: translateY(0px) translateX(0px);
  }
  100% {
    transform: translateY(-35px) translateX(25px);
  }
}

/* Title inside hero */

.tb-hero .tb-title {
  color: #fff !important;
  font-weight: 800;
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 28px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.tb-hero .tb-title::after {
  background: rgba(255,255,255,0.75);
}

/* Subtext */

.tb-hero .tb-subtext {
  color: rgba(255,255,255,0.92);
  font-size: 22px;
  max-width: 760px;
  margin-bottom: 38px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.22);
}

/* CTA Button inside hero */

/* Force hero CTA to stay inline on all screen sizes */

.tb-hero .tb-btn, .tb-hero .tb-btn-primary {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
}

/* Your button styling kept intact */

.tb-hero .tb-btn-primary {
  background: #ffffff;
  color: #28a745;
  padding: 16px 36px;
  font-size: 18px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
  transform: translateY(0);
}

/* Prevent mobile rules from forcing it full width */

@media (max-width: 767.98px) {
  .tb-hero .tb-btn {
    width: auto !important;
    display: inline-flex !important;
    justify-content: center;
    white-space: nowrap;
  }
}

.tb-hero .tb-btn-primary:hover {
  transform: translateY(-6px);
  background: #f8fff9;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

/* SVG inside button */

.tb-hero .tb-btn-primary svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

/* SEO layer stays invisible */

.tb-hidden-seo {
  position: absolute;
  left: -99999px;
  opacity: 0;
  visibility: hidden;
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .tb-hero {
    padding: 110px 0 120px;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
  }
}

@media (max-width: 768px) {
  .tb-hero .tb-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .tb-hero .tb-subtext {
    font-size: 18px;
  }
}

/* ============================================================   FINAL CTA v50 — EXACT MATCH TO HERO v50   Only affects: .tb-final-cta and its internal elements   ============================================================ */

/* Base Container (same as .tb-hero) */

.tb-final-cta {
  position: relative;
  padding: 140px 0 160px;
  background: linear-gradient(135deg, #28a745 0%, #2fbf62 40%, #1d7c35 100%);
  color: #fff;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.18);
  isolation: isolate;
}

/* Floating Glow Layer (same as hero) */

.tb-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 60%);
  opacity: 0.55;
  z-index: -1;
}

/* Soft Moving Overlay (same as hero) */

.tb-final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: finalcta-move 8s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes finalcta-move {
  0% {
    transform: translateY(0px) translateX(0px);
  }
  100% {
    transform: translateY(-35px) translateX(25px);
  }
}

/* Title (copied exactly from .tb-hero .tb-title) */

.tb-final-cta .tb-title {
  color: #fff !important;
  font-weight: 800;
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 28px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Subtext (exact match to hero) */

.tb-final-cta .tb-subtext {
  color: rgba(255,255,255,0.92);
  font-size: 22px;
  max-width: 760px;
  margin-bottom: 38px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.22);
}

/* CTA Button — EXACT hero button duplicate */

/* Always inline */

.tb-final-cta .tb-btn, .tb-final-cta .tb-btn-primary {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
}

/* Button base (identical to hero) */

.tb-final-cta .tb-btn-primary {
  background: #ffffff;
  color: #28a745;
  padding: 16px 36px;
  font-size: 18px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
  transform: translateY(0);
}

/* Hover (same as hero) */

.tb-final-cta .tb-btn-primary:hover {
  transform: translateY(-6px);
  background: #f8fff9;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

/* SVG styling */

.tb-final-cta .tb-btn-primary svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

/* Responsive rules — identical to hero */

@media (max-width: 768px) {
  .tb-final-cta {
    padding: 110px 0 120px;
    border-radius: 26px;
  }
}

@media (max-width: 768px) {
  .tb-final-cta .tb-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .tb-final-cta .tb-subtext {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .tb-final-cta .tb-btn {
    width: auto !important;
    display: inline-flex !important;
    white-space: nowrap;
  }
}

/* ============================================================   TLDR Premium Style — Applies ONLY to .tb-tldr   (No CSS for tb-section, tb-container, tb-title, no IDs)   ============================================================ */

.tb-tldr {
  background: linear-gradient(135deg, #f8fff9 0%, #eafff0 45%, #dfffe8 100%);
  padding: 26px 32px;
  border-radius: 18px;
  font-size: 20px;
  line-height: 1.65;
  font-weight: 500;
  color: #145c2d;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border: 1px solid rgba(40,167,69,0.25);
  max-width: 900px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Soft moving highlight (subtle hero-style motion) */

.tb-tldr::before {
  content: "";
  position: absolute;
  inset: -40px -20px;
  background: radial-gradient(circle at 25% 30%, rgba(40,167,69,0.18), transparent 55%);
  opacity: 0.45;
  z-index: -1;
  animation: tldr-glow 7s ease-in-out infinite alternate;
}

@keyframes tldr-glow {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(18px) translateY(-18px);
  }
}

/* Bold text enhancement */

.tb-tldr strong {
  font-weight: 700;
  color: #0f4d25;
}

/* KPI Bar Container */

.tb-kpi-bar {
  padding: 60px 0;
  background: linear-gradient(135deg, #e9fff3 0%, #d2ffe7 40%, #c4ffdf 100%);
  border-radius: 26px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Light gradient glow behind items */

.tb-kpi-bar::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(40,167,69,0.18), transparent 65%);
  opacity: 0.6;
  z-index: -1;
}

/* KPI Grid */

.tb-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}

/* KPI Card Items — premium color variations */

.tb-kpi-item {
  padding: 26px 20px;
  border-radius: 18px;
  background: linear-gradient( 135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 45%, rgba(255,255,255,0.75) 100% );
  border: 1px solid rgba(40,167,69,0.18);
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: #134d2b;
}

/* Hover lift */

.tb-kpi-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.12);
}

/* KPI Title text */

.tb-kpi-item strong {
  font-size: 22px;
  font-weight: 800;
  display: block;
  color: #0e4224;
  margin-bottom: 6px;
}

/* KPI subtitle text */

.tb-kpi-item span {
  font-size: 18px;
  color: #1c7d3f;
  opacity: 0.95;
}

/* Responsive */

@media (max-width: 992px) {
  .tb-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 576px) {
  .tb-kpi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .tb-kpi-bar {
    border-radius: 20px;
    padding: 45px 0;
  }
}

/* ============================================================   LEAD MAGNET — Premium v50 Style   Only affects .tb-lead and internal classes   ============================================================ */

.tb-lead {
  position: relative;
  padding: 110px 0 130px;
  border-radius: 32px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.08);
  overflow: hidden;
  isolation: isolate;
}

/* Glow layer */

.tb-lead::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  z-index: -1;
  animation: lead-glow 9s ease-in-out infinite alternate;
}

@keyframes lead-glow {
  0% {
    transform: translateX(0px) translateY(0px);
  }
  100% {
    transform: translateX(18px) translateY(-18px);
  }
}

/* Subtext styling (safe — internal class) */

.tb-lead .tb-subtext {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.65;
  color: #145b2e;
  margin-bottom: 40px;
}

/* ============================================================   SECONDARY BUTTON — Premium Version   ============================================================ */

.tb-lead .tb-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  background: #ffffff;
  color: #28a745;
  border: 2px solid rgba(40,167,69,0.35);
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
  transition: all 0.25s ease;
}

/* Hover effect (premium subtle lift) */

.tb-lead .tb-btn-secondary:hover {
  border-color: rgba(40,167,69,0.55);
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.14);
}

/* Responsive Tweaks */

@media (max-width: 768px) {
  .tb-lead {
    border-radius: 24px;
    padding: 80px 0 90px;
  }
}

@media (max-width: 768px) {
  .tb-lead .tb-subtext {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .tb-lead .tb-btn-secondary {
    font-size: 17px;
    padding: 14px 28px;
  }
}

