/* ==========================================================================
   GROWTH STACK HUB — DESIGN SYSTEM & STYLES (MATCHING MASTER BLUEPRINT & DESIGN)
   ========================================================================== */

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

:root {
  /* Colors */
  --bg-main: #FCFAF4;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-navy: #0B0E1A;
  --bg-navy-card: #141829;
  
  --primary-yellow: #F5B82E;
  --primary-yellow-hover: #E0A31D;
  --primary-yellow-light: #FFF8E7;
  
  --purple-main: #6C4DFF;
  --purple-light: #F3F0FF;
  --purple-glow: rgba(108, 77, 255, 0.2);
  
  --blue-main: #3B9EFF;
  --blue-light: #EBF5FF;
  
  --green-main: #10B981;
  --green-light: #EBFBEE;
  
  --text-dark: #11152F;
  --text-muted: #525866;
  --text-light: #8C94A6;
  --text-white: #FFFFFF;
  
  --border-color: #EAE6DC;
  --border-hover: #D6D0C2;
  
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(17, 21, 47, 0.04);
  --shadow-md: 0 8px 24px rgba(17, 21, 47, 0.06);
  --shadow-lg: 0 16px 40px rgba(17, 21, 47, 0.1);
  --shadow-yellow: 0 8px 25px rgba(245, 184, 46, 0.35);
  --shadow-purple: 0 8px 25px rgba(108, 77, 255, 0.3);
  
  /* Transition */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

button, input {
  font-family: inherit;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
  background-color: var(--primary-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 184, 46, 0.45);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-purple {
  background-color: var(--purple-main);
  color: var(--text-white);
  box-shadow: var(--shadow-purple);
}

.btn-purple:hover {
  background-color: #5B3CE1;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(108, 77, 255, 0.45);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.badge:hover {
  transform: translateY(-1px);
}

.badge-purple {
  background-color: var(--purple-light);
  color: var(--purple-main);
  border: 1px solid rgba(108, 77, 255, 0.25);
}

.badge-yellow {
  background-color: var(--primary-yellow-light);
  color: #B37D00;
  border: 1px solid rgba(245, 184, 46, 0.35);
}

.badge-green {
  background-color: var(--green-light);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-blue {
  background-color: var(--blue-light);
  color: #0284C7;
  border: 1px solid rgba(59, 158, 255, 0.3);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(252, 250, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
  overflow: visible !important;
}

.header .container,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--purple-main), var(--blue-main));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(108, 77, 255, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 1.2rem 0 1rem 0;
  color: var(--text-dark);
  line-height: 1.15;
}

/* Universal Pastel Marker Highlights (Pinterest-Inspired Visual Accents) */
.highlight-yellow,
.highlight-green,
.highlight-purple,
.highlight-blue {
  position: relative;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  z-index: 1;
  padding: 0.1em 0.35em;
  border-radius: 6px 12px 4px 10px;
  transition: var(--transition);
  color: var(--text-dark);
}

.highlight-yellow {
  background: linear-gradient(115deg, rgba(254, 240, 138, 0.95) 0%, rgba(253, 224, 71, 0.92) 100%);
  box-shadow: inset 0 -3px 0 rgba(234, 179, 8, 0.25);
  transform: rotate(-0.5deg);
}

.highlight-green {
  background: linear-gradient(115deg, rgba(209, 250, 229, 0.95) 0%, rgba(167, 243, 208, 0.92) 100%);
  box-shadow: inset 0 -3px 0 rgba(16, 185, 129, 0.25);
  transform: rotate(0.4deg);
}

.highlight-purple {
  background: linear-gradient(115deg, rgba(237, 233, 254, 0.95) 0%, rgba(221, 214, 254, 0.92) 100%);
  box-shadow: inset 0 -3px 0 rgba(124, 58, 237, 0.25);
  transform: rotate(-0.3deg);
}

.highlight-blue {
  background: linear-gradient(115deg, rgba(224, 242, 254, 0.95) 0%, rgba(186, 230, 253, 0.92) 100%);
  box-shadow: inset 0 -3px 0 rgba(14, 165, 233, 0.25);
  transform: rotate(0.3deg);
}

.highlight-yellow:hover,
.highlight-green:hover,
.highlight-purple:hover,
.highlight-blue:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--purple-main);
  width: 16px;
  height: 16px;
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  overflow: visible;
}

.blob-yellow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
  border-radius: 55% 45% 65% 35% / 45% 55% 35% 65%;
  z-index: 1;
  top: 2%;
  left: 5%;
  opacity: 0.95;
}

.blob-purple {
  position: absolute;
  width: 240px;
  height: 350px;
  background: linear-gradient(135deg, #A78BFA, #6C4DFF);
  border-radius: 60% 40% 30% 70% / 50% 30% 70% 50%;
  z-index: 1;
  right: 0%;
  top: 15%;
  opacity: 0.9;
}

.hero-character-wrapper {
  position: relative;
  z-index: 2;
  width: 390px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-character-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(17, 21, 47, 0.12));
}

/* Floating Glass Cards around Hero Character */
.float-card {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.2rem;
  box-shadow: 0 12px 30px rgba(17, 21, 47, 0.09);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  animation: float 4s ease-in-out infinite alternate;
}

.float-card-1 { top: 8%; left: -2%; animation-delay: 0s; }
.float-card-2 { top: 10%; right: -5%; animation-delay: 1s; }
.float-card-3 { top: 36%; left: -8%; animation-delay: 1.5s; }
.float-card-4 { top: 42%; right: -6%; animation-delay: 0.5s; }

.rocket-launch {
  position: absolute;
  bottom: 8%;
  left: -4%;
  z-index: 3;
  font-size: 2.8rem;
  filter: drop-shadow(0 8px 15px rgba(108,77,255,0.3));
  animation: float 3s ease-in-out infinite alternate;
}

.hero-plant {
  position: absolute;
  bottom: 4%;
  right: 2%;
  z-index: 3;
  font-size: 2.8rem;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.1));
}

.float-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

@keyframes floatSlow {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(15deg); }
}

/* ==========================================================================
   VALUE / TRUST STRIP
   ========================================================================== */
.trust-strip {
  padding: 1.5rem 0;
  margin-bottom: 4rem;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1100px) {
  .trust-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.trust-box {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0.8rem;
}

.trust-box-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-box-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.trust-box-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CATEGORY HUB ("What Are You Looking For?")
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.category-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cat-purple { background-color: var(--purple-light); border: 1.5px solid rgba(108, 77, 255, 0.15); }
.cat-yellow { background-color: var(--primary-yellow-light); border: 1.5px solid rgba(245, 184, 46, 0.25); }
.cat-pink   { background-color: #FFF0F5; border: 1.5px solid rgba(255, 105, 180, 0.2); }
.cat-green  { background-color: var(--green-light); border: 1.5px solid rgba(16, 185, 129, 0.2); }
.cat-blue   { background-color: var(--blue-light); border: 1.5px solid rgba(59, 158, 255, 0.2); }
.cat-orange { background-color: #FFF3E0; border: 1.5px solid rgba(255, 152, 0, 0.2); }

.cat-purple:hover { box-shadow: 0 12px 30px rgba(108, 77, 255, 0.15); border-color: var(--purple-main); }
.cat-yellow:hover { box-shadow: 0 12px 30px rgba(245, 184, 46, 0.25); border-color: var(--primary-yellow); }
.cat-pink:hover   { box-shadow: 0 12px 30px rgba(255, 105, 180, 0.15); border-color: #FF69B4; }
.cat-green:hover  { box-shadow: 0 12px 30px rgba(16, 185, 129, 0.18); border-color: var(--green-main); }
.cat-blue:hover   { box-shadow: 0 12px 30px rgba(59, 158, 255, 0.18); border-color: var(--blue-main); }
.cat-orange:hover { box-shadow: 0 12px 30px rgba(255, 152, 0, 0.18); border-color: #FF9800; }

.category-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
}

.category-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.category-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--purple-main);
}

.category-card:hover .category-link {
  gap: 0.7rem;
}

/* ==========================================================================
   HOW IT WORKS ("Start Your AI Income Journey")
   ========================================================================== */
.how-section {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-yellow);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
}

.step-icon {
  font-size: 2.2rem;
  margin: 0.8rem 0 1rem 0;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FEATURED TOOLS ("AI Tools Worth Knowing")
   ========================================================================== */
.tools-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.tools-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.tools-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0.5rem 1rem;
}

.tools-carousel {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 0.8rem 0.3rem;
}

.tools-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.tools-carousel .tool-card {
  flex: 0 0 calc(25% - 0.9rem);
  scroll-snap-align: start;
  min-width: 240px;
}

.tool-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-main);
}

/* Navigation Buttons (Sleek Image-matching Carousel Arrows) */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-nav-btn.prev-btn {
  left: 6px;
}

.carousel-nav-btn.next-btn {
  right: 6px;
}

.carousel-nav-btn:hover:not(:disabled) {
  background-color: var(--purple-main);
  color: #FFFFFF;
  border-color: var(--purple-main);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(108, 77, 255, 0.3);
}

.carousel-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
  background-color: #F3F4F6;
  border-color: #E5E7EB;
  color: #9CA3AF;
}

.tool-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.tool-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.tool-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.tool-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple-main);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}

/* ==========================================================================
   FEATURED EBOOKS ("Learn. Build. Earn.")
   ========================================================================== */
.ebooks-section {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.ebooks-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0.5rem 1rem;
}

.ebooks-carousel {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 0.8rem 0.3rem;
}

.ebooks-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.ebooks-carousel .ebook-card {
  flex: 0 0 calc(33.333% - 1.2rem);
  scroll-snap-align: start;
  min-width: 280px;
}

.ebook-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.ebook-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.ebook-cover {
  width: 170px;
  height: 230px;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.ebook-card:hover .ebook-cover {
  transform: scale(1.03) rotate(-1deg);
}

.cover-1 { background: linear-gradient(135deg, #E60023, #FF4D6A); }
.cover-2 { background: linear-gradient(135deg, #1E1B4B, #4338CA); }
.cover-3 { background: linear-gradient(135deg, #064E3B, #10B981); }

.cover-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  align-self: flex-start;
}

.cover-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.ebook-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.ebook-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.ebook-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* ==========================================================================
   ROCKET PROMOTION BANNER
   ========================================================================== */
.banner-section {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.banner-card {
  background: linear-gradient(135deg, #FFF8E7 0%, #F3F0FF 50%, #EBF5FF 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 4rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(108, 77, 255, 0.15);
  box-shadow: 0 20px 40px rgba(108, 77, 255, 0.08);
}

.banner-content {
  max-width: 580px;
  z-index: 2;
}

.banner-card h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.banner-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.banner-visual {
  position: relative;
  z-index: 2;
  font-size: 7rem;
  filter: drop-shadow(0 15px 25px rgba(108, 77, 255, 0.25));
  animation: float 3s ease-in-out infinite alternate;
}

/* ==========================================================================
   ROADMAP & WHY THIS WEBSITE
   ========================================================================== */
.dual-section {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.dual-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}

.dual-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.8rem;
}

.roadmap-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.roadmap-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.roadmap-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.roadmap-step span {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
}

.roadmap-arrow {
  color: var(--primary-yellow);
  font-size: 1.4rem;
  font-weight: 800;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.why-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.why-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.why-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LATEST GUIDES
   ========================================================================== */
.guides-section {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.guide-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.guide-thumb {
  height: 120px;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--primary-yellow);
}

.guide-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.guide-body h3 {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.guide-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple-main);
  margin-top: auto;
}

/* ==========================================================================
   FREE STARTER KIT BANNER
   ========================================================================== */
.starter-section {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.starter-card {
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #7DD3FC;
}

.starter-content {
  max-width: 560px;
}

.starter-card h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.starter-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.starter-form {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.starter-input {
  flex-grow: 1;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(0,0,0,0.1);
  font-size: 0.95rem;
  background-color: #fff;
}

.starter-micro {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.starter-gift {
  font-size: 7.5rem;
  filter: drop-shadow(0 15px 25px rgba(56, 189, 248, 0.4));
  animation: float 3.5s ease-in-out infinite alternate;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.testimonial-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.testi-quote {
  font-size: 2rem;
  color: var(--primary-yellow);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testi-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--purple-main);
}

.testi-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
}

.testi-loc {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ==========================================================================
   FOOTER (PREMIUM LIGHT PASTEL DESIGN SYSTEM)
   ========================================================================== */
.footer {
  background-color: #FFFFFF;
  color: var(--text-muted);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1.5px solid var(--border-color);
  position: relative;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem 2rem;
  margin-bottom: 3.5rem;
  align-items: flex-start;
  width: 100%;
}

.footer-brand {
  min-width: 0;
}

.footer-col {
  min-width: 0;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.9rem;
  text-decoration: none;
}

.footer-brand p {
  font-size: 0.90rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 320px;
  color: var(--text-muted);
}

.footer-socials, .social-links, .social-icon {
  display: none !important;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.social-icon svg,
.social-icon img {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* Individual Brand Styling */
.social-website {
  background-color: #F5F3FF;
  border-color: #DDD6FE;
}
.social-website:hover {
  background-color: #6C4DFF !important;
  border-color: #6C4DFF !important;
  box-shadow: 0 8px 20px rgba(108, 77, 255, 0.35) !important;
  transform: translateY(-3px) scale(1.05);
}
.social-website:hover svg {
  stroke: #FFFFFF !important;
}

.social-pinterest {
  background-color: #FFF1F2;
  border-color: #FECDD3;
}
.social-pinterest:hover {
  background-color: #E60023 !important;
  border-color: #E60023 !important;
  box-shadow: 0 8px 20px rgba(230, 0, 35, 0.35) !important;
  transform: translateY(-3px) scale(1.05);
}
.social-pinterest:hover svg {
  fill: #FFFFFF !important;
}

.social-facebook {
  background-color: #EFF6FF;
  border-color: #BFDBFE;
}
.social-facebook:hover {
  background-color: #1877F2 !important;
  border-color: #1877F2 !important;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35) !important;
  transform: translateY(-3px) scale(1.05);
}
.social-facebook:hover svg {
  fill: #FFFFFF !important;
}

.social-instagram {
  background-color: #FDF2F8;
  border-color: #FBCFE8;
}
.social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.35) !important;
  transform: translateY(-3px) scale(1.05);
}
.social-instagram:hover svg path {
  fill: #FFFFFF !important;
}

.social-threads {
  background-color: #F3F4F6;
  border-color: #E5E7EB;
}
.social-threads:hover {
  background-color: #111827 !important;
  border-color: #111827 !important;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.35) !important;
  transform: translateY(-3px) scale(1.05);
}
.social-threads:hover svg {
  fill: #FFFFFF !important;
}
.social-threads:hover img {
  filter: brightness(0) invert(1) !important;
}

.footer-col h4 {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  position: relative;
  white-space: nowrap;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 0;
  padding: 0;
}

.footer-col a {
  font-size: 0.90rem;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--purple-main);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
}

.footer-bottom-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.80rem;
  color: var(--text-light);
}

/* Tablet / Medium Screens (650px - 1050px) */
@media (max-width: 1050px) and (min-width: 650px) {
  .footer-grid,
  .footer-grid[style],
  div.footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem 2rem !important;
  }
  .footer-brand {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0.5rem;
  }
  .footer-brand p {
    max-width: 600px;
  }
}

/* Mobile Screens (<= 649px) */
@media (max-width: 649px) {
  .footer-grid,
  .footer-grid[style],
  div.footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }
  .footer-brand {
    grid-column: 1 / -1 !important;
    text-align: center;
  }
  .footer-brand .logo {
    justify-content: center;
  }
  .footer-brand p {
    max-width: 100%;
    margin: 0 auto 1.2rem auto;
  }
  .footer-socials, .social-links {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}

/* ==========================================================================
   SPECIFICATION-ALIGNED MASTER RESPONSIVE ENGINE
   ========================================================================== */

/* Universal Reset & Viewport Constraints */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);
}

body.menu-open {
  overflow: hidden !important;
}

img, video, svg, iframe {
  max-width: 100%;
  height: auto;
}

/* Container Rule (Spec Section 2) */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  box-sizing: border-box;
}

/* Fluid Responsive Typography (Spec Section 5) */
h1, .hero-title, .page-hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.page-hero-lead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  color: var(--purple-main);
  margin-bottom: 1rem;
}

.parts-grid, .bonuses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

h2, .section-title {
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}

h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.3;
}

p, body {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.65;
}

/* Table Responsive Scroll Wrapper (Spec Section 29) */
.table-wrapper, .table-container, div[style*="overflow-x: auto"] {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  display: block !important;
}

/* Breadcrumbs (Spec Section 28) */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.breadcrumb::-webkit-scrollbar { display: none; }

/* Touch Target Sizes & Focus Visibility (Spec Section 3, 6, 33) */
button, a.btn, input, select, textarea, .mobile-toggle, .carousel-nav-btn {
  min-height: 44px;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--purple-main) !important;
  outline-offset: 2px !important;
}

.mobile-toggle {
  min-width: 44px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  cursor: pointer;
}

.callout-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.bonus-card {
  background: #ffffff;
  border: 1.5px dashed var(--purple-main);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.package-summary-card {
  background: #ffffff;
  border: 2px solid var(--purple-main);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* 1024px Breakpoint (Desktop Small / Tablet Landscape) */
@media (max-width: 1024px) {
  .hero-grid,
  .hero-grid[style],
  div[style*="grid-template-columns: 1.2fr"],
  div[style*="grid-template-columns: 2fr"] { 
    grid-template-columns: 1fr !important; 
    text-align: center; 
    gap: 2.5rem !important; 
  }
  .hero-content { align-items: center; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .tools-carousel .tool-card { flex: 0 0 calc(33.333% - 0.8rem); }
  .ebooks-carousel .ebook-card { flex: 0 0 calc(50% - 0.9rem); }
  .guides-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .article-container { max-width: 100%; }
  .buy-card { position: static !important; width: 100% !important; margin-top: 2rem; }
}

/* 768px Breakpoint (Tablet Portrait / Smartphone Header Collapse) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .mobile-toggle { display: flex !important; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FCFAF4;
    padding: 1.5rem 2rem;
    border-bottom: 1.5px solid var(--border-color);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    gap: 1.2rem;
    z-index: 1000;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.active {
    display: flex !important;
  }

  .hero-section, .page-hero { padding-top: 2rem !important; padding-bottom: 3rem !important; }
  .hero-visual {
    min-height: 320px;
    width: 100%;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
  }
  .blob-yellow { width: 240px; height: 240px; }
  .blob-purple { width: 150px; height: 200px; right: 0%; }
  .hero-character-wrapper {
    width: 100%;
    max-width: 250px;
    height: 290px;
    margin: 0 auto;
  }
  
  .float-card { padding: 0.4rem 0.75rem; font-size: 0.75rem; position: absolute; }
  
  /* Spec Sections 7, 8, 9, 13, 14, 15 */
  .trust-strip-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.9rem !important;
  }
  .categories-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .why-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .steps-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
  }
  .roadmap-flow {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.8rem !important;
  }
  .roadmap-arrow {
    transform: rotate(90deg) !important;
    margin: 0.2rem 0 !important;
  }
  .guides-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Inline Grid Overrides for all templates */
  .parts-grid,
  .bonuses-grid,
  .features-grid,
  .hero-grid,
  .footer-grid,
  div[style*="grid-template-columns: repeat(2"],
  div[style*="grid-template-columns:repeat(2"],
  div[style*="grid-template-columns: 2fr"],
  div[style*="grid-template-columns: 1.2fr"],
  .testimonials-grid, 
  .dual-grid,
  .toc-grid,
  .tool-meta-grid,
  .plan-grid,
  .checklist-grid,
  .not-needed-grid,
  .who-grid,
  .resource-grid, 
  .hustle-grid, 
  .directory-grid, 
  .free-directory-grid { 
    grid-template-columns: 1fr !important; 
    gap: 1.2rem !important; 
  }

  .container {
    padding-inline: 14px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .badge {
    font-size: 0.7rem !important;
    padding: 0.35rem 0.65rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    max-width: 100% !important;
    display: inline-block !important;
    line-height: 1.35 !important;
  }

  .page-hero-title, h1, .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  .page-hero-lead, .hero-desc, p {
    font-size: 0.92rem !important;
    max-width: 100% !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .part-card, .module-card, .feature-card, .checklist-card, .not-needed-card, .who-card, .why-card, .callout-box, .bonus-card, .package-summary-card {
    grid-column: span 1 !important;
    width: 100% !important;
    padding: 1.25rem !important;
    box-sizing: border-box !important;
  }

  .buy-card {
    padding: 1.25rem !important;
    box-sizing: border-box !important;
  }

  div[style*="span 2"], .checklist-card[style*="span 2"] {
    grid-column: span 1 !important;
  }

  .highlight-yellow,
  .highlight-green,
  .highlight-purple,
  .highlight-blue {
    display: inline !important;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  
  .tools-carousel .tool-card { flex: 0 0 calc(50% - 0.6rem); }
  .ebooks-carousel .ebook-card { flex: 0 0 calc(50% - 0.9rem); }

  .banner-card, .starter-card, .mid-article-cta { 
    flex-direction: column !important; 
    text-align: center !important; 
    padding: 2.2rem 1.5rem !important; 
    gap: 1.5rem !important; 
  }
  .starter-form { flex-direction: column !important; width: 100% !important; }
  .starter-input, .starter-form .btn, .mid-article-cta .btn { width: 100% !important; }

  section, .section, .tools-section, .ebooks-section, .guides-section, .how-section, .starter-section, .testimonials-section {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }

  .hero-visual img, .hero-character-wrapper img, .banner-visual img, .buy-card img {
    max-width: 100% !important;
    height: auto !important;
  }

  .legal-body, .legal-container { padding-inline: 1rem !important; }
  .legal-toc ol { grid-template-columns: 1fr !important; gap: 0.5rem !important; }
}

/* 600px Breakpoint (Header Button Hide & Announcement Bar fit) */
@media (max-width: 600px) {
  .nav-container > .btn-sm,
  .nav-container > .btn {
    display: none !important;
  }

  .announce-bar {
    font-size: 0.76rem !important;
    padding: 0.5rem 0.6rem !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* 480px Breakpoint (Smartphone Vertical Buttons, Full Width Inputs, Carousel Swipe) */
@media (max-width: 480px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding-inline: 14px !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .hero-ctas { flex-direction: column; width: 100%; gap: 0.8rem; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  
  .hero-visual { min-height: 280px; }
  .float-card { display: none !important; } /* Spec Section 4 & 21 */

  .tools-carousel, .ebooks-carousel {
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 1rem !important;
  }
  .tools-carousel .tool-card,
  .ebooks-carousel .ebook-card {
    flex: 0 0 90% !important;
    min-width: 90% !important;
    max-width: 90% !important;
  }

  .why-grid, .trust-strip-grid { grid-template-columns: 1fr !important; }

  .carousel-nav-btn { width: 36px; height: 36px; }
  .carousel-nav-btn.prev-btn { left: 2px; }
  .carousel-nav-btn.next-btn { right: 2px; }

  .btn-lg, .btn-primary, .btn-purple {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}

/* Extra-Small Mobile Devices (320px - 360px) */
@media (max-width: 360px) {
  .container { padding-inline: 12px !important; }
  .badge { font-size: 0.72rem !important; padding: 0.25rem 0.55rem !important; }
  .btn { font-size: 0.85rem !important; padding: 0.7rem 1rem !important; }
  .tool-card, .ebook-card { min-width: 100% !important; }
  .categories-grid { grid-template-columns: 1fr !important; }
}


/* ==========================================================================
   MASTER MOBILE FIX — Loaded last, highest priority
   Targets all mobile viewports up to 768px
   ========================================================================== */
@media screen and (max-width: 768px) {

  /* Strict viewport lock */
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Container tight mobile padding */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  /* ALL sections full width — header excluded so dropdown menu works */
  section, .page-hero, .banner-section, footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Header must NOT have overflow:hidden — nav dropdown needs to show */
  header, .header, .header .container, .nav-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    box-sizing: border-box !important;
    position: sticky !important;
    z-index: 1000 !important;
  }

  /* Force ALL content grids to single column */
  .hero-grid,
  .parts-grid,
  .bonuses-grid,
  .features-grid,
  .checklist-grid,
  .categories-grid,
  .trust-strip-grid,
  .guides-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Force ALL cards to full width */
  .part-card,
  .bonus-card,
  .buy-card,
  .callout-box,
  .package-summary-card,
  .checklist-card,
  .feature-card,
  .tool-card,
  .ebook-card {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: 1 / -1 !important;
    box-sizing: border-box !important;
    padding: 1.2rem !important;
    overflow: hidden !important;
  }

  /* Text must never overflow */
  h1, h2, h3, h4, h5, h6,
  p, span, a, li, blockquote, strong, em,
  .page-hero-title,
  .hero-title,
  .section-title,
  .page-hero-lead {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  /* H1 fluid size on mobile */
  h1, .page-hero-title, .hero-title {
    font-size: clamp(1.4rem, 5vw, 2rem) !important;
    line-height: 1.3 !important;
  }

  /* H2 fluid size on mobile */
  h2, .section-title {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem) !important;
  }

  /* Badges wrap on mobile */
  .badge {
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.7rem !important;
    padding: 0.3rem 0.6rem !important;
  }

  /* Announcement bar */
  .announce-bar {
    font-size: 0.72rem !important;
    padding: 0.5rem 1rem !important;
    word-break: break-word !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }

  /* Nav header CTA button hidden on small screens */
  .nav-container > .btn-sm,
  .nav-container > .btn-primary {
    display: none !important;
  }

  /* Buttons full width on mobile */
  .btn-lg {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    white-space: normal !important;
    padding: 0.9rem 1rem !important;
    box-sizing: border-box !important;
  }

  /* Hero section centered on mobile */
  .hero-grid {
    text-align: center !important;
  }

  /* Buy card full width, not sticky */
  .buy-card {
    position: static !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
  }

  /* Images never overflow */
  img, video {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Checklist last card — no span issue */
  .checklist-card[style*="span"],
  .checklist-card[style*="grid-column"] {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  /* Package summary box */
  .package-summary-card ul {
    padding-left: 0 !important;
  }

  /* Quote box */
  .quote-box {
    padding: 1.2rem !important;
  }
  .quote-box blockquote {
    font-size: 1rem !important;
  }
}

/* ==========================================================================
   GLOBAL SEARCH & FILTER PILLS
   ========================================================================== */
.search-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1.2rem 0.75rem 2.8rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  font-size: 0.92rem;
  color: var(--text-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: var(--transition);
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: var(--purple-main);
  box-shadow: 0 0 0 4px var(--purple-glow, rgba(108, 77, 255, 0.15));
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--text-light);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 0.95rem;
  color: var(--text-light);
  cursor: pointer;
  display: none;
  padding: 4px;
}

.search-clear:hover {
  color: var(--text-dark);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.filter-btn:hover {
  border-color: var(--purple-main);
  color: var(--purple-main);
  background: var(--purple-light, rgba(108, 77, 255, 0.08));
}

.filter-btn.active {
  background: var(--purple-main);
  color: #ffffff;
  border-color: var(--purple-main);
  box-shadow: 0 4px 12px rgba(108, 77, 255, 0.25);
}

/* ==========================================================================
   PILLAR HUBS & SILO ARCHITECTURE STYLES
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--text-dark);
}

.breadcrumb-separator {
  color: var(--text-light);
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 600;
}

/* Pillar Signature Badges */
.pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.pillar-badge-green {
  background: #EBFBEE;
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.pillar-badge-blue {
  background: #EBF5FF;
  color: #3B9EFF;
  border: 1px solid rgba(59, 158, 255, 0.25);
}

.pillar-badge-purple {
  background: #F3F0FF;
  color: #6C4DFF;
  border: 1px solid rgba(108, 77, 255, 0.25);
}

.pillar-badge-yellow {
  background: #FFF8E7;
  color: #B45309;
  border: 1px solid rgba(245, 184, 46, 0.35);
}

/* Pillar Hero Section */
.pillar-hero {
  padding: 3rem 0 2rem;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
}

.pillar-hero-content {
  max-width: 800px;
}

.pillar-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.pillar-hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pillar-meta-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pillar-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* 5 Pillars Grid on Homepage */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

.pillar-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--pillar-color, var(--purple-main));
  opacity: 0.8;
  transition: height 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--pillar-color, var(--purple-main));
}

.pillar-card:hover::before {
  height: 6px;
}

.pillar-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--pillar-bg, #F3F0FF);
}

.pillar-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.pillar-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.pillar-card-topics {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-card-topics li {
  font-size: 0.86rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.pillar-card-topics li::before {
  content: '•';
  color: var(--pillar-color, var(--purple-main));
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}

.pillar-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--pillar-color, var(--purple-main));
}

/* Pillar Guides Grid */
.pillar-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

/* Flagship Guides 5-Pillar Showcase */
.flagship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
}

.flagship-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.flagship-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--card-accent, var(--purple-main));
}

.flagship-top {
  margin-bottom: 1.2rem;
}

.flagship-pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.8rem;
  background: var(--tag-bg, var(--purple-light));
  color: var(--tag-color, var(--purple-main));
  border: 1px solid var(--tag-border, rgba(108, 77, 255, 0.25));
}

.flagship-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.flagship-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.flagship-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-light);
}

.flagship-footer .flagship-cta {
  font-weight: 700;
  color: var(--card-accent, var(--purple-main));
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

@media (max-width: 640px) {
  .pillar-guides-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-guide-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}

.pillar-guide-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pillar-guide-top {
  margin-bottom: 1.2rem;
}

.pillar-guide-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  margin-bottom: 0.8rem;
  background: var(--bg-main);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.pillar-guide-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.pillar-guide-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pillar-guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.pillar-guide-link {
  font-weight: 700;
  color: var(--purple-main);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.2s ease;
}

.pillar-guide-card:hover .pillar-guide-link {
  transform: translateX(3px);
}

/* Pillar Callout Banner */
.pillar-callout-box {
  background: var(--bg-surface);
  border: 2px dashed var(--border-hover);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pillar-callout-content {
  max-width: 650px;
}

.pillar-callout-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.pillar-callout-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 16px rgba(17, 21, 47, 0.08);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-sticky-bar.is-visible {
    transform: translateY(0);
  }

  .mobile-sticky-text {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
  }

  .mobile-sticky-text span {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
  }

  .mobile-sticky-btn {
    white-space: nowrap;
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    background: var(--primary-yellow);
    color: var(--text-dark);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
  }
}

/* Card Pillar Tag Indicators */
.card-pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}
.card-pillar-tag:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}
.card-pillar-tag.pillar-green {
  background: #EBFBEE;
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.card-pillar-tag.pillar-blue {
  background: #EBF5FF;
  color: #3B9EFF;
  border: 1px solid rgba(59, 158, 255, 0.25);
}
.card-pillar-tag.pillar-purple {
  background: #F3F0FF;
  color: #6C4DFF;
  border: 1px solid rgba(108, 77, 255, 0.25);
}
.card-pillar-tag.pillar-yellow {
  background: #FFF8E7;
  color: #D97706;
  border: 1px solid rgba(245, 184, 46, 0.3);
}
.card-pillar-tag.pillar-coral {
  background: #FFF1F0;
  color: #E11D48;
  border: 1px solid rgba(225, 29, 72, 0.25);
}

/* 5-Pillar Component Specifications */
.cpl-summary-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.cpl-summary-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #3B9EFF;
}
.cpl-micro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}
@media (max-width: 640px) {
  .cpl-micro-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.cpl-metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.cpl-metric-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
}
.budget-callout-box {
  background: #EBFBEE;
  border: 1.5px solid #10B981;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin: 1.5rem 0;
}
.gig-fast-cash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #EBF5FF;
  color: #3B9EFF;
  border: 1px solid rgba(59, 158, 255, 0.3);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}
.case-study-callout {
  background: #F3F0FF;
  border: 1.5px solid #6C4DFF;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin: 1.5rem 0;
}

/* ==========================================================================
   KNOWLEDGE PILLARS NAVIGATION DROPDOWN (PAVILION-INSPIRED FLOATING POPOVER)
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  user-select: none;
  -webkit-user-select: none;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.04);
}

.nav-dropdown-arrow {
  font-size: 0.55rem;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  opacity: 0.7;
}

.nav-dropdown.is-open .nav-dropdown-arrow,
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown:focus-within .nav-dropdown-arrow {
  transform: rotate(180deg);
}

/* Desktop & Laptop Floating Dropdown (2-Column Stripe/GitHub-Style Mega Popover) */
@media (min-width: 769px) {
  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: -25px;
    left: auto;
    transform: none;
    width: 620px;
    max-width: calc(100vw - 32px);
    background: #FFFFFF !important;
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16), 0 4px 14px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0.9rem;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 999999 !important;
    overflow: visible !important;
  }

  /* Elegant pointer notch pointing directly to center of Knowledge Pillars button */
  .nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -7px;
    right: 108px;
    left: auto;
    transform: rotate(45deg);
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    border-top: 1.5px solid var(--border-color);
    border-left: 1.5px solid var(--border-color);
    z-index: 1;
  }

  /* Invisible hover bridge to eliminate gap */
  .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;
  }

  /* 2-Column Balanced Grid */
  .nav-dropdown-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.35rem 0.85rem !important;
  }

  /* Triggers: Hover, Click (.is-open), and Focus */
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: dropdownFadeSlide 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

/* Tablet & Mid-size Display Tuning (769px to 991px) */
@media (max-width: 991px) and (min-width: 769px) {
  .nav-dropdown-menu {
    width: 520px !important;
    right: -10px !important;
    padding: 0.6rem 0.75rem !important;
  }
  .nav-dropdown-menu::after {
    right: 93px !important;
  }
  .nav-dropdown-grid {
    gap: 0.25rem 0.65rem !important;
  }
}

@keyframes dropdownFadeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Dropdown Micro Header */
.nav-dropdown-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.25rem 0.6rem 0.45rem 0.6rem !important;
  border-bottom: 1px solid var(--border-color) !important;
  margin-bottom: 0.15rem !important;
}

.nav-dropdown-label {
  font-family: var(--font-heading) !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: var(--text-muted) !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.nav-dropdown-count {
  font-family: var(--font-heading) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: var(--purple-main) !important;
  background: var(--purple-light) !important;
  padding: 0.15rem 0.5rem !important;
  border-radius: var(--radius-pill) !important;
}

/* Dropdown Item: Icon + Bold Title + Description Subtitle + Right Hover Arrow */
.nav-dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.5rem 0.65rem !important;
  padding-right: 1.85rem !important;
  border-radius: 9px !important;
  text-decoration: none !important;
  color: var(--text-dark) !important;
  transition: all 0.15s ease !important;
  background: transparent;
  cursor: pointer;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Soft Pastel Yellow Highlight on Hover (Exact Match to User Reference Screenshot) */
.nav-dropdown-item:hover,
.nav-dropdown-item:focus {
  background-color: #FEF9C3 !important; /* Rich pastel yellow highlight from reference */
  transform: translateX(2px);
}

.nav-dropdown-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 7px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.05rem !important;
  flex-shrink: 0 !important;
  transition: transform 0.18s ease, background 0.18s ease !important;
}

.nav-dropdown-item:hover .nav-dropdown-icon {
  transform: scale(1.08) !important;
}

/* Pillar-Specific Vibrant Icon Backgrounds */
.nav-dropdown-item.pillar-gig .nav-dropdown-icon {
  background: #EBF5FF !important;
  border: 1px solid rgba(59, 158, 255, 0.25) !important;
}
.nav-dropdown-item.pillar-surveys .nav-dropdown-icon {
  background: #EBFBEE !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
.nav-dropdown-item.pillar-frugal .nav-dropdown-icon {
  background: #E6F4EA !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
}
.nav-dropdown-item.pillar-diy .nav-dropdown-icon {
  background: #FFF1F0 !important;
  border: 1px solid rgba(225, 29, 72, 0.25) !important;
}
.nav-dropdown-item.pillar-ai .nav-dropdown-icon {
  background: #F3F0FF !important;
  border: 1px solid rgba(124, 58, 237, 0.25) !important;
}
.nav-dropdown-item.pillar-ecommerce .nav-dropdown-icon {
  background: #EEF2FF !important;
  border: 1px solid rgba(79, 70, 229, 0.25) !important;
}
.nav-dropdown-item.pillar-tools .nav-dropdown-icon {
  background: #FEF3C7 !important;
  border: 1px solid rgba(217, 119, 6, 0.25) !important;
}
.nav-dropdown-item.pillar-library {
  background: #F8FAFC !important;
  border: 1px dashed rgba(108, 77, 255, 0.3) !important;
}
.nav-dropdown-item.pillar-library .nav-dropdown-icon {
  background: #F3F0FF !important;
  border: 1px solid rgba(108, 77, 255, 0.25) !important;
}
.nav-dropdown-item.pillar-library:hover {
  background-color: #FEF9C3 !important;
  border-style: solid !important;
}

.nav-dropdown-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.1rem !important;
  flex: 1;
  min-width: 0;
}

.nav-dropdown-title {
  font-family: var(--font-heading) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
}

.nav-dropdown-desc {
  font-size: 0.72rem !important;
  font-weight: 450 !important;
  color: #64748B !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
}

/* Interactive Right Arrow on Hover (Absolute Positioned — Zero Layout Shift) */
.nav-dropdown-arrow-right {
  position: absolute !important;
  right: 0.65rem !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(-4px) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #94A3B8 !important;
  opacity: 0;
  transition: all 0.18s ease !important;
  pointer-events: none;
  margin-left: 0 !important;
  flex-shrink: 0;
}

.nav-dropdown-item:hover .nav-dropdown-arrow-right {
  opacity: 1 !important;
  transform: translateY(-50%) translateX(0) !important;
  color: #0F172A !important;
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.75rem 0.4rem;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    margin: 0.5rem 0 0.8rem 0;
    padding: 0.4rem;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    max-height: none !important;
    overflow: visible !important;
  }
  .nav-dropdown-menu::after {
    display: none !important;
  }
  .nav-dropdown-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex !important;
  }
  .nav-dropdown.is-open .nav-dropdown-arrow {
    transform: rotate(180deg);
  }
  .nav-dropdown-item {
    padding: 0.6rem 0.75rem !important;
    padding-right: 1.85rem !important;
  }
  .nav-dropdown-arrow-right {
    opacity: 0.6 !important;
    transform: translateY(-50%) !important;
  }
}


