/* ========================================
   TECH-FORWARD PARENTING THEME
   NutraPlanet Scoped Design System
   Theme: np-style-tech-forward
   ======================================== */

/* ========================================
   ELEMENTOR OVERRIDE RESET (NUCLEAR OPTION)
   Force styles over Elementor defaults
   ======================================== */

.np-scope.np-style-tech-forward * {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.np-scope.np-style-tech-forward h1,
.np-scope.np-style-tech-forward h2,
.np-scope.np-style-tech-forward h3,
.np-scope.np-style-tech-forward h4,
.np-scope.np-style-tech-forward h5,
.np-scope.np-style-tech-forward h6 {
  font-family: 'Onest', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: inherit !important;
}

.np-scope.np-style-tech-forward p,
.np-scope.np-style-tech-forward li,
.np-scope.np-style-tech-forward span,
.np-scope.np-style-tech-forward a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  line-height: 1.6 !important;
  color: inherit !important;
}

.np-scope.np-style-tech-forward a {
  text-decoration: none !important;
}


/* ========================================
   CSS VARIABLES (SCOPED)
   ======================================== */

.np-scope.np-style-tech-forward {
  /* Dark Mode Colors (Primary) */
  --tf-bg-primary: #0a0e1a;
  --tf-bg-surface: #1a1f2e;
  --tf-bg-elevated: #252b3d;
  --tf-text-primary: #ffffff;
  --tf-text-secondary: #b8c1d9;
  --tf-text-muted: #6b7280;
  
  /* Light Mode Colors (Toggle) */
  --tf-bg-light: #ffffff;
  --tf-bg-light-surface: #f8f9fa;
  --tf-text-light: #0a0e1a;
  --tf-text-light-secondary: #4a5568;
  
  /* Gradients */
  --tf-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --tf-gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --tf-gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --tf-gradient-success: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  
  /* Glassmorphism */
  --tf-glass-bg: rgba(255, 255, 255, 0.05);
  --tf-glass-border: rgba(255, 255, 255, 0.1);
  --tf-glass-blur: 20px;
  
  /* Shadows & Glows */
  --tf-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --tf-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --tf-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --tf-glow-purple: 0 0 30px rgba(102, 126, 234, 0.4);
  --tf-glow-cyan: 0 0 30px rgba(79, 172, 254, 0.4);
  --tf-glow-pink: 0 0 30px rgba(245, 87, 108, 0.4);
  
  /* Typography */
  --tf-font-display: 'Sora', 'Inter', sans-serif;
  --tf-font-heading: 'Onest', 'Inter', sans-serif;
  --tf-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --tf-space-xs: 0.5rem;
  --tf-space-sm: 1rem;
  --tf-space-md: 1.5rem;
  --tf-space-lg: 2rem;
  --tf-space-xl: 3rem;
  --tf-space-2xl: 4rem;
  
  /* Border Radius */
  --tf-radius-sm: 8px;
  --tf-radius-md: 12px;
  --tf-radius-lg: 16px;
  --tf-radius-xl: 24px;
  
  /* Transitions */
  --tf-transition-fast: 0.2s ease;
  --tf-transition-base: 0.3s ease;
  --tf-transition-slow: 0.5s ease;
}

/* Light Mode Override (when toggled) */
.np-scope.np-style-tech-forward.tf-light-mode {
  --tf-bg-primary: var(--tf-bg-light);
  --tf-bg-surface: var(--tf-bg-light-surface);
  --tf-bg-elevated: #f1f3f5;
  --tf-text-primary: var(--tf-text-light);
  --tf-text-secondary: var(--tf-text-light-secondary);
  --tf-glass-bg: rgba(0, 0, 0, 0.02);
  --tf-glass-border: rgba(0, 0, 0, 0.08);
}


/* ========================================
   BASE CONTAINER
   ======================================== */

.np-scope.np-style-tech-forward {
  background: var(--tf-bg-primary);
  color: var(--tf-text-primary);
  font-family: var(--tf-font-body);
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.4s ease, color 0.4s ease;
  position: relative;
  overflow-x: hidden;
}


/* ========================================
   READING PROGRESS BAR
   ======================================== */

.np-scope.np-style-tech-forward .reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--tf-bg-surface);
  z-index: 9999;
}

.np-scope.np-style-tech-forward .reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--tf-gradient-accent);
  transition: width 0.1s ease;
}


/* ========================================
   DARK/LIGHT MODE TOGGLE
   ======================================== */

.np-scope.np-style-tech-forward .theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9998;
  background: var(--tf-glass-bg);
  backdrop-filter: blur(var(--tf-glass-blur));
  border: 1px solid var(--tf-glass-border);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--tf-transition-base);
}

.np-scope.np-style-tech-forward .theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: var(--tf-glow-cyan);
}

.np-scope.np-style-tech-forward .theme-toggle-icon {
  width: 20px;
  height: 20px;
  font-size: 20px;
}


/* ========================================
   BLOCK 1: HERO
   ======================================== */

.np-scope.np-style-tech-forward .hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--tf-space-2xl) var(--tf-space-lg) !important;
  background: var(--tf-gradient-primary);
  overflow: hidden;
}

/* Animated gradient background */
.np-scope.np-style-tech-forward .hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--tf-gradient-accent);
  opacity: 0.3;
  animation: tf-gradient-shift 15s ease infinite;
}

@keyframes tf-gradient-shift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-10%, 10%) rotate(180deg); }
}

/* Particle canvas */
.np-scope.np-style-tech-forward .hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}

.np-scope.np-style-tech-forward .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  margin: 0 auto !important;
}

.np-scope.np-style-tech-forward .hero h1 {
  font-family: var(--tf-font-display) !important;
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  font-weight: 800 !important;
  margin-bottom: var(--tf-space-md) !important;
  background: linear-gradient(135deg, #ffffff 0%, #b8c1d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tf-fade-in-up 0.8s ease;
}

.np-scope.np-style-tech-forward .hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: var(--tf-space-lg) !important;
  animation: tf-fade-in-up 0.8s ease 0.2s backwards;
}

.np-scope.np-style-tech-forward .hero .cta-button {
  display: inline-block;
  padding: 16px 40px !important;
  background: var(--tf-gradient-secondary);
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 50px;
  transition: all var(--tf-transition-base);
  animation: tf-fade-in-up 0.8s ease 0.4s backwards;
  box-shadow: var(--tf-shadow-md);
}

.np-scope.np-style-tech-forward .hero .cta-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--tf-glow-pink);
}

@keyframes tf-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ========================================
   BLOCK 2: KEY TAKEAWAY CALLOUTS
   ======================================== */

.np-scope.np-style-tech-forward .key-takeaways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--tf-space-lg);
  padding: var(--tf-space-2xl) var(--tf-space-lg) !important;
  margin: 0 auto !important;
  max-width: 1200px;
}

.np-scope.np-style-tech-forward .key-takeaway-card {
  background: var(--tf-glass-bg);
  backdrop-filter: blur(var(--tf-glass-blur));
  border: 1px solid var(--tf-glass-border);
  border-radius: var(--tf-radius-lg);
  padding: var(--tf-space-lg) !important;
  transition: all var(--tf-transition-base);
  position: relative;
  overflow: hidden;
}

.np-scope.np-style-tech-forward .key-takeaway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--tf-gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tf-transition-base);
}

.np-scope.np-style-tech-forward .key-takeaway-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--tf-glow-cyan);
  border-color: rgba(79, 172, 254, 0.3);
}

.np-scope.np-style-tech-forward .key-takeaway-card:hover::before {
  transform: scaleX(1);
}

.np-scope.np-style-tech-forward .key-takeaway-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--tf-space-sm) !important;
  background: var(--tf-gradient-primary);
  border-radius: var(--tf-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.np-scope.np-style-tech-forward .key-takeaway-card h3 {
  font-size: 1.3rem !important;
  margin-bottom: var(--tf-space-sm) !important;
  color: var(--tf-text-primary) !important;
}

.np-scope.np-style-tech-forward .key-takeaway-card p {
  font-size: 1rem !important;
  color: var(--tf-text-secondary) !important;
  line-height: 1.6 !important;
}


/* ========================================
   BLOCK 3: SECTION HEADING + BODY
   ======================================== */

.np-scope.np-style-tech-forward .content-section {
  max-width: 800px;
  margin: 0 auto var(--tf-space-2xl) auto !important;
  padding: 0 var(--tf-space-lg) !important;
}

.np-scope.np-style-tech-forward .content-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
  margin-bottom: var(--tf-space-md) !important;
  color: var(--tf-text-primary) !important;
  position: relative;
  padding-left: var(--tf-space-md) !important;
}

.np-scope.np-style-tech-forward .content-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--tf-gradient-accent);
  border-radius: 2px;
}

.np-scope.np-style-tech-forward .content-section h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem) !important;
  margin-top: var(--tf-space-lg) !important;
  margin-bottom: var(--tf-space-sm) !important;
  color: var(--tf-text-primary) !important;
}

.np-scope.np-style-tech-forward .content-section p {
  font-size: 1.1rem !important;
  line-height: 1.8 !important;
  color: var(--tf-text-secondary) !important;
  margin-bottom: var(--tf-space-md) !important;
}

.np-scope.np-style-tech-forward .content-section p:last-child {
  margin-bottom: 0 !important;
}

.np-scope.np-style-tech-forward .content-section ul,
.np-scope.np-style-tech-forward .content-section ol {
  margin: var(--tf-space-md) 0 !important;
  padding-left: var(--tf-space-lg) !important;
}

.np-scope.np-style-tech-forward .content-section li {
  font-size: 1.1rem !important;
  color: var(--tf-text-secondary) !important;
  margin-bottom: var(--tf-space-sm) !important;
}

.np-scope.np-style-tech-forward .content-section a {
  color: #4facfe !important;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  transition: all var(--tf-transition-fast);
}

.np-scope.np-style-tech-forward .content-section a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--tf-gradient-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--tf-transition-base);
}

.np-scope.np-style-tech-forward .content-section a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* ========================================
   BLOCK 4: INLINE CTA (MINOR)
   ======================================== */

.np-scope.np-style-tech-forward .inline-cta {
  background: var(--tf-glass-bg);
  backdrop-filter: blur(var(--tf-glass-blur));
  border: 1px solid var(--tf-glass-border);
  border-radius: var(--tf-radius-md);
  padding: var(--tf-space-md) !important;
  margin: var(--tf-space-xl) auto !important;
  max-width: 700px;
  text-align: center;
  transition: all var(--tf-transition-base);
}

.np-scope.np-style-tech-forward .inline-cta:hover {
  border-color: rgba(79, 172, 254, 0.4);
  box-shadow: var(--tf-shadow-md);
}

.np-scope.np-style-tech-forward .inline-cta p {
  font-size: 1rem !important;
  color: var(--tf-text-secondary) !important;
  margin-bottom: var(--tf-space-sm) !important;
}

.np-scope.np-style-tech-forward .inline-cta a {
  display: inline-block;
  padding: 12px 32px !important;
  background: var(--tf-gradient-accent);
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 50px;
  transition: all var(--tf-transition-base);
}

.np-scope.np-style-tech-forward .inline-cta a:hover {
  transform: scale(1.05);
  box-shadow: var(--tf-glow-cyan);
}


/* ========================================
   BLOCK 5: VISUAL BREAK / DIVIDER
   ======================================== */

.np-scope.np-style-tech-forward .visual-break {
  height: 2px;
  background: var(--tf-gradient-accent);
  margin: var(--tf-space-2xl) auto !important;
  max-width: 300px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.np-scope.np-style-tech-forward .visual-break::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: tf-shimmer 2s ease infinite;
}

@keyframes tf-shimmer {
  to {
    left: 100%;
  }
}


/* ========================================
   BLOCK 6: MID-ARTICLE CTA (MAJOR)
   ======================================== */

.np-scope.np-style-tech-forward .mid-article-cta {
  background: var(--tf-gradient-primary);
  border-radius: var(--tf-radius-xl);
  padding: var(--tf-space-2xl) var(--tf-space-lg) !important;
  margin: var(--tf-space-2xl) auto !important;
  max-width: 900px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--tf-shadow-lg);
}

.np-scope.np-style-tech-forward .mid-article-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: var(--tf-gradient-secondary);
  opacity: 0.2;
  animation: tf-gradient-shift 20s ease infinite reverse;
}

.np-scope.np-style-tech-forward .mid-article-cta-content {
  position: relative;
  z-index: 2;
}

.np-scope.np-style-tech-forward .mid-article-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
  margin-bottom: var(--tf-space-md) !important;
  color: #ffffff !important;
}

.np-scope.np-style-tech-forward .mid-article-cta p {
  font-size: 1.2rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: var(--tf-space-lg) !important;
}

.np-scope.np-style-tech-forward .mid-article-cta .cta-button {
  display: inline-block;
  padding: 18px 48px !important;
  background: #ffffff;
  color: #764ba2 !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  border-radius: 50px;
  transition: all var(--tf-transition-base);
  box-shadow: var(--tf-shadow-md);
}

.np-scope.np-style-tech-forward .mid-article-cta .cta-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
}


/* ========================================
   BLOCK 7: PULL QUOTE / EMOTIONAL ANCHOR
   ======================================== */

.np-scope.np-style-tech-forward .pull-quote {
  position: relative;
  padding: var(--tf-space-xl) var(--tf-space-lg) !important;
  margin: var(--tf-space-2xl) auto !important;
  max-width: 700px;
  text-align: center;
  background: var(--tf-glass-bg);
  backdrop-filter: blur(var(--tf-glass-blur));
  border-left: 4px solid transparent;
  border-image: var(--tf-gradient-accent) 1;
  border-radius: var(--tf-radius-md);
}

.np-scope.np-style-tech-forward .pull-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 100px;
  font-family: Georgia, serif;
  background: var(--tf-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.np-scope.np-style-tech-forward .pull-quote p {
  font-size: 1.4rem !important;
  font-weight: 500 !important;
  font-style: italic;
  color: var(--tf-text-primary) !important;
  line-height: 1.6 !important;
}

.np-scope.np-style-tech-forward .pull-quote cite {
  display: block;
  margin-top: var(--tf-space-sm) !important;
  font-size: 1rem !important;
  color: var(--tf-text-secondary) !important;
  font-style: normal;
}


/* ========================================
   BLOCK 8: FAQ ACCORDION
   ======================================== */

.np-scope.np-style-tech-forward .faq-section {
  max-width: 900px;
  margin: var(--tf-space-2xl) auto !important;
  padding: 0 var(--tf-space-lg) !important;
}

.np-scope.np-style-tech-forward .faq-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
  margin-bottom: var(--tf-space-lg) !important;
  text-align: center;
  color: var(--tf-text-primary) !important;
}

.np-scope.np-style-tech-forward .faq-item {
  background: var(--tf-glass-bg);
  backdrop-filter: blur(var(--tf-glass-blur));
  border: 1px solid var(--tf-glass-border);
  border-radius: var(--tf-radius-md);
  margin-bottom: var(--tf-space-sm) !important;
  overflow: hidden;
  transition: all var(--tf-transition-base);
}

.np-scope.np-style-tech-forward .faq-item.active {
  border-color: rgba(79, 172, 254, 0.4);
  box-shadow: var(--tf-shadow-md);
}

.np-scope.np-style-tech-forward .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--tf-space-md) !important;
  cursor: pointer;
  transition: all var(--tf-transition-fast);
  user-select: none;
}

.np-scope.np-style-tech-forward .faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.np-scope.np-style-tech-forward .faq-question h3 {
  font-size: 1.2rem !important;
  color: var(--tf-text-primary) !important;
  margin: 0 !important;
  flex: 1;
}

.np-scope.np-style-tech-forward .faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tf-gradient-accent);
  border-radius: 50%;
  transition: transform var(--tf-transition-base);
  margin-left: var(--tf-space-sm) !important;
}

.np-scope.np-style-tech-forward .faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.np-scope.np-style-tech-forward .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.np-scope.np-style-tech-forward .faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 var(--tf-space-md) var(--tf-space-md) var(--tf-space-md) !important;
}

.np-scope.np-style-tech-forward .faq-answer p {
  font-size: 1rem !important;
  color: var(--tf-text-secondary) !important;
  line-height: 1.7 !important;
}


/* ========================================
   BLOCK 9: RESEARCH CITATION BLOCK
   ======================================== */

.np-scope.np-style-tech-forward .research-citation {
  background: var(--tf-bg-surface);
  border-left: 4px solid transparent;
  border-image: var(--tf-gradient-primary) 1;
  border-radius: var(--tf-radius-md);
  padding: var(--tf-space-md) !important;
  margin: var(--tf-space-lg) 0 !important;
  display: flex;
  align-items: flex-start;
  gap: var(--tf-space-md);
  transition: all var(--tf-transition-base);
}

.np-scope.np-style-tech-forward .research-citation:hover {
  box-shadow: var(--tf-shadow-md);
  transform: translateX(4px);
}

.np-scope.np-style-tech-forward .research-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--tf-gradient-primary);
  border-radius: var(--tf-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.np-scope.np-style-tech-forward .research-content h4 {
  font-size: 1.1rem !important;
  margin-bottom: var(--tf-space-xs) !important;
  color: var(--tf-text-primary) !important;
  background: var(--tf-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.np-scope.np-style-tech-forward .research-content p {
  font-size: 1rem !important;
  color: var(--tf-text-secondary) !important;
  margin-bottom: var(--tf-space-xs) !important;
}

.np-scope.np-style-tech-forward .research-content .research-source {
  font-size: 0.9rem !important;
  color: var(--tf-text-muted) !important;
  font-style: italic;
}


/* ========================================
   BLOCK 10: NEWSLETTER EMBED (INLINE)
   ======================================== */

.np-scope.np-style-tech-forward .newsletter-embed {
  background: var(--tf-gradient-secondary);
  border-radius: var(--tf-radius-lg);
  padding: var(--tf-space-xl) var(--tf-space-lg) !important;
  margin: var(--tf-space-2xl) auto !important;
  max-width: 700px;
  text-align: center;
}

.np-scope.np-style-tech-forward .newsletter-embed h3 {
  font-size: 1.8rem !important;
  margin-bottom: var(--tf-space-sm) !important;
  color: #ffffff !important;
}

.np-scope.np-style-tech-forward .newsletter-embed p {
  font-size: 1.1rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: var(--tf-space-lg) !important;
}

.np-scope.np-style-tech-forward .newsletter-form {
  display: flex;
  gap: var(--tf-space-sm);
  max-width: 500px;
  margin: 0 auto !important;
}

.np-scope.np-style-tech-forward .newsletter-form input {
  flex: 1;
  padding: 14px 20px !important;
  border: none !important;
  border-radius: 50px;
  font-size: 1rem !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #0a0e1a !important;
}

.np-scope.np-style-tech-forward .newsletter-form button {
  padding: 14px 32px !important;
  background: var(--tf-bg-primary) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all var(--tf-transition-base);
}

.np-scope.np-style-tech-forward .newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: var(--tf-shadow-md);
}


/* ========================================
   BLOCK 11: INTERNAL LINK CARD
   ======================================== */

.np-scope.np-style-tech-forward .internal-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--tf-space-md);
  margin: var(--tf-space-2xl) auto !important;
  padding: 0 var(--tf-space-lg) !important;
  max-width: 1200px;
}

.np-scope.np-style-tech-forward .internal-link-card {
  background: var(--tf-glass-bg);
  backdrop-filter: blur(var(--tf-glass-blur));
  border: 1px solid var(--tf-glass-border);
  border-radius: var(--tf-radius-md);
  overflow: hidden;
  transition: all var(--tf-transition-base);
  display: flex;
  flex-direction: column;
}

.np-scope.np-style-tech-forward .internal-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 172, 254, 0.4);
  box-shadow: var(--tf-shadow-md);
}

.np-scope.np-style-tech-forward .internal-link-image {
  width: 100%;
  height: 180px;
  background: var(--tf-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.np-scope.np-style-tech-forward .internal-link-content {
  padding: var(--tf-space-md) !important;
  flex: 1;
}

.np-scope.np-style-tech-forward .internal-link-content h4 {
  font-size: 1.2rem !important;
  margin-bottom: var(--tf-space-xs) !important;
  color: var(--tf-text-primary) !important;
}

.np-scope.np-style-tech-forward .internal-link-content p {
  font-size: 0.95rem !important;
  color: var(--tf-text-secondary) !important;
  margin-bottom: var(--tf-space-sm) !important;
}

.np-scope.np-style-tech-forward .internal-link-content a {
  display: inline-block;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  background: var(--tf-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--tf-transition-fast);
}

.np-scope.np-style-tech-forward .internal-link-content a:hover {
  transform: translateX(4px);
}


/* ========================================
   BLOCK 12: LEAD MAGNET DOWNLOAD CARD
   ======================================== */

.np-scope.np-style-tech-forward .lead-magnet {
  background: var(--tf-gradient-accent);
  border-radius: var(--tf-radius-lg);
  padding: var(--tf-space-xl) var(--tf-space-lg) !important;
  margin: var(--tf-space-2xl) auto !important;
  max-width: 800px;
  display: flex;
  align-items: center;
  gap: var(--tf-space-lg);
  box-shadow: var(--tf-shadow-lg);
}

.np-scope.np-style-tech-forward .lead-magnet-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--tf-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.np-scope.np-style-tech-forward .lead-magnet-content h3 {
  font-size: 1.6rem !important;
  margin-bottom: var(--tf-space-sm) !important;
  color: #ffffff !important;
}

.np-scope.np-style-tech-forward .lead-magnet-content p {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: var(--tf-space-md) !important;
}

.np-scope.np-style-tech-forward .lead-magnet-content ul {
  list-style: none !important;
  padding: 0 !important;
  margin-bottom: var(--tf-space-md) !important;
}

.np-scope.np-style-tech-forward .lead-magnet-content li {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: var(--tf-space-xs) !important;
  padding-left: 24px !important;
  position: relative;
}

.np-scope.np-style-tech-forward .lead-magnet-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.np-scope.np-style-tech-forward .lead-magnet-button {
  display: inline-block;
  padding: 14px 40px !important;
  background: #ffffff;
  color: #4facfe !important;
  font-weight: 700 !important;
  border-radius: 50px;
  transition: all var(--tf-transition-base);
  box-shadow: var(--tf-shadow-md);
}

.np-scope.np-style-tech-forward .lead-magnet-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}


/* ========================================
   BLOCK 13: VIDEO EMBED BLOCK
   ======================================== */

.np-scope.np-style-tech-forward .video-embed {
  max-width: 900px;
  margin: var(--tf-space-2xl) auto !important;
  padding: 0 var(--tf-space-lg) !important;
}

.np-scope.np-style-tech-forward .video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--tf-radius-lg);
  background: var(--tf-bg-surface);
  box-shadow: var(--tf-shadow-lg);
}

.np-scope.np-style-tech-forward .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none !important;
}

.np-scope.np-style-tech-forward .video-caption {
  margin-top: var(--tf-space-sm) !important;
  font-size: 0.95rem !important;
  color: var(--tf-text-secondary) !important;
  text-align: center;
  font-style: italic;
}


/* ========================================
   BLOCK 14: STICKY SIDE CTA
   ======================================== */

.np-scope.np-style-tech-forward .sticky-side-cta {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9997;
  background: var(--tf-glass-bg);
  backdrop-filter: blur(var(--tf-glass-blur));
  border: 1px solid var(--tf-glass-border);
  border-radius: var(--tf-radius-lg);
  padding: var(--tf-space-lg) !important;
  max-width: 280px;
  box-shadow: var(--tf-shadow-lg);
  transition: all var(--tf-transition-base);
  opacity: 0;
  visibility: hidden;
}

.np-scope.np-style-tech-forward .sticky-side-cta.visible {
  opacity: 1;
  visibility: visible;
}

.np-scope.np-style-tech-forward .sticky-side-cta:hover {
  box-shadow: var(--tf-glow-purple);
}

.np-scope.np-style-tech-forward .sticky-side-cta h4 {
  font-size: 1.2rem !important;
  margin-bottom: var(--tf-space-sm) !important;
  color: var(--tf-text-primary) !important;
}

.np-scope.np-style-tech-forward .sticky-side-cta p {
  font-size: 0.95rem !important;
  color: var(--tf-text-secondary) !important;
  margin-bottom: var(--tf-space-md) !important;
}

.np-scope.np-style-tech-forward .sticky-side-cta .cta-button {
  display: block;
  width: 100%;
  padding: 12px 20px !important;
  background: var(--tf-gradient-primary);
  color: #ffffff !important;
  text-align: center;
  font-weight: 600 !important;
  border-radius: 50px;
  transition: all var(--tf-transition-base);
}

.np-scope.np-style-tech-forward .sticky-side-cta .cta-button:hover {
  transform: scale(1.05);
  box-shadow: var(--tf-glow-purple);
}


/* ========================================
   BLOCK 15: SUMMARY / TL;DR BLOCK
   ======================================== */

.np-scope.np-style-tech-forward .tldr-block {
  background: var(--tf-bg-surface);
  border: 2px solid transparent;
  border-image: var(--tf-gradient-success) 1;
  border-radius: var(--tf-radius-lg);
  padding: var(--tf-space-lg) !important;
  margin: var(--tf-space-2xl) auto !important;
  max-width: 800px;
}

.np-scope.np-style-tech-forward .tldr-block h3 {
  font-size: 1.4rem !important;
  margin-bottom: var(--tf-space-md) !important;
  color: var(--tf-text-primary) !important;
  display: flex;
  align-items: center;
  gap: var(--tf-space-sm);
}

.np-scope.np-style-tech-forward .tldr-block h3::before {
  content: '⚡';
  font-size: 1.6rem;
}

.np-scope.np-style-tech-forward .tldr-block ul {
  list-style: none !important;
  padding: 0 !important;
}

.np-scope.np-style-tech-forward .tldr-block li {
  font-size: 1.05rem !important;
  color: var(--tf-text-secondary) !important;
  margin-bottom: var(--tf-space-sm) !important;
  padding-left: 30px !important;
  position: relative;
}

.np-scope.np-style-tech-forward .tldr-block li::before {
  content: '→';
  position: absolute;
  left: 0;
  background: var(--tf-gradient-success);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}


/* ========================================
   BLOCK 16: ABOUT THE AUTHOR
   ======================================== */

.np-scope.np-style-tech-forward .about-author {
  background: var(--tf-glass-bg);
  backdrop-filter: blur(var(--tf-glass-blur));
  border: 1px solid var(--tf-glass-border);
  border-radius: var(--tf-radius-lg);
  padding: var(--tf-space-xl) !important;
  margin: var(--tf-space-2xl) auto !important;
  max-width: 800px;
  display: flex;
  align-items: center;
  gap: var(--tf-space-lg);
}

.np-scope.np-style-tech-forward .author-image {
  width: 120px;
  height: 120px;
  min-width: 120px;
  border-radius: 50%;
  background: var(--tf-gradient-primary);
  border: 4px solid var(--tf-bg-surface);
  box-shadow: var(--tf-shadow-md);
  overflow: hidden;
}

.np-scope.np-style-tech-forward .author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.np-scope.np-style-tech-forward .author-content h3 {
  font-size: 1.4rem !important;
  margin-bottom: var(--tf-space-xs) !important;
  color: var(--tf-text-primary) !important;
}

.np-scope.np-style-tech-forward .author-content .author-title {
  font-size: 1rem !important;
  color: var(--tf-text-secondary) !important;
  margin-bottom: var(--tf-space-sm) !important;
  font-style: italic;
}

.np-scope.np-style-tech-forward .author-content p {
  font-size: 1rem !important;
  color: var(--tf-text-secondary) !important;
  line-height: 1.6 !important;
}


/* ========================================
   BLOCK 17: RELATED POSTS
   ======================================== */

.np-scope.np-style-tech-forward .related-posts {
  max-width: 1200px;
  margin: var(--tf-space-2xl) auto !important;
  padding: 0 var(--tf-space-lg) !important;
}

.np-scope.np-style-tech-forward .related-posts h2 {
  font-size: 2rem !important;
  margin-bottom: var(--tf-space-lg) !important;
  text-align: center;
  color: var(--tf-text-primary) !important;
}

.np-scope.np-style-tech-forward .related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--tf-space-lg);
}

.np-scope.np-style-tech-forward .related-post-card {
  background: var(--tf-glass-bg);
  backdrop-filter: blur(var(--tf-glass-blur));
  border: 1px solid var(--tf-glass-border);
  border-radius: var(--tf-radius-md);
  overflow: hidden;
  transition: all var(--tf-transition-base);
}

.np-scope.np-style-tech-forward .related-post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 172, 254, 0.4);
  box-shadow: var(--tf-glow-cyan);
}

.np-scope.np-style-tech-forward .related-post-image {
  width: 100%;
  height: 200px;
  background: var(--tf-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.np-scope.np-style-tech-forward .related-post-content {
  padding: var(--tf-space-md) !important;
}

.np-scope.np-style-tech-forward .related-post-content h3 {
  font-size: 1.3rem !important;
  margin-bottom: var(--tf-space-sm) !important;
  color: var(--tf-text-primary) !important;
}

.np-scope.np-style-tech-forward .related-post-content p {
  font-size: 1rem !important;
  color: var(--tf-text-secondary) !important;
  margin-bottom: var(--tf-space-sm) !important;
}

.np-scope.np-style-tech-forward .related-post-content a {
  display: inline-block;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  background: var(--tf-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--tf-transition-fast);
}

.np-scope.np-style-tech-forward .related-post-content a:hover {
  transform: translateX(4px);
}


/* ========================================
   BLOCK 18: FOOTER CTA
   ======================================== */

.np-scope.np-style-tech-forward .footer-cta {
  background: var(--tf-gradient-primary);
  padding: var(--tf-space-2xl) var(--tf-space-lg) !important;
  margin-top: var(--tf-space-2xl) !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.np-scope.np-style-tech-forward .footer-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--tf-gradient-secondary);
  opacity: 0.2;
  animation: tf-gradient-shift 25s ease infinite;
}

.np-scope.np-style-tech-forward .footer-cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto !important;
}

.np-scope.np-style-tech-forward .footer-cta h2 {
  font-size: clamp(2rem, 5vw, 3rem) !important;
  margin-bottom: var(--tf-space-md) !important;
  color: #ffffff !important;
}

.np-scope.np-style-tech-forward .footer-cta p {
  font-size: 1.2rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: var(--tf-space-xl) !important;
}

.np-scope.np-style-tech-forward .footer-cta .cta-button {
  display: inline-block;
  padding: 18px 48px !important;
  background: #ffffff;
  color: #764ba2 !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  border-radius: 50px;
  transition: all var(--tf-transition-base);
  box-shadow: var(--tf-shadow-lg);
}

.np-scope.np-style-tech-forward .footer-cta .cta-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.4);
}


/* ========================================
   RESPONSIVE DESIGN
   Mobile-First Approach
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .np-scope.np-style-tech-forward .sticky-side-cta {
    display: none !important;
  }
  
  .np-scope.np-style-tech-forward .hero {
    min-height: 500px;
    padding: var(--tf-space-xl) var(--tf-space-md) !important;
  }
  
  .np-scope.np-style-tech-forward .key-takeaways {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--tf-space-md);
  }
  
  .np-scope.np-style-tech-forward .lead-magnet {
    flex-direction: column;
    text-align: center;
  }
  
  .np-scope.np-style-tech-forward .about-author {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
  .np-scope.np-style-tech-forward {
    font-size: 15px;
  }
  
  .np-scope.np-style-tech-forward .theme-toggle {
    top: 10px;
    right: 10px;
    padding: 6px 12px !important;
  }
  
  .np-scope.np-style-tech-forward .hero {
    min-height: 400px;
    padding: var(--tf-space-lg) var(--tf-space-sm) !important;
  }
  
  .np-scope.np-style-tech-forward .hero h1 {
    font-size: 2rem !important;
  }
  
  .np-scope.np-style-tech-forward .hero p {
    font-size: 1rem !important;
  }
  
  .np-scope.np-style-tech-forward .key-takeaways {
    grid-template-columns: 1fr;
    padding: var(--tf-space-lg) var(--tf-space-sm) !important;
  }
  
  .np-scope.np-style-tech-forward .content-section {
    padding: 0 var(--tf-space-sm) !important;
  }
  
  .np-scope.np-style-tech-forward .content-section h2 {
    font-size: 1.5rem !important;
  }
  
  .np-scope.np-style-tech-forward .content-section p {
    font-size: 1rem !important;
  }
  
  .np-scope.np-style-tech-forward .newsletter-form {
    flex-direction: column;
  }
  
  .np-scope.np-style-tech-forward .newsletter-form input,
  .np-scope.np-style-tech-forward .newsletter-form button {
    width: 100%;
  }
  
  .np-scope.np-style-tech-forward .internal-links {
    grid-template-columns: 1fr;
  }
  
  .np-scope.np-style-tech-forward .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .np-scope.np-style-tech-forward .pull-quote p {
    font-size: 1.2rem !important;
  }
  
  .np-scope.np-style-tech-forward .mid-article-cta {
    padding: var(--tf-space-lg) var(--tf-space-md) !important;
  }
}


/* ========================================
   SCROLL ANIMATIONS
   Triggered by JavaScript
   ======================================== */

.np-scope.np-style-tech-forward [data-tf-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.np-scope.np-style-tech-forward [data-tf-animate].tf-in-view {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

.np-scope.np-style-tech-forward * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.np-scope.np-style-tech-forward img,
.np-scope.np-style-tech-forward video {
  max-width: 100%;
  height: auto;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .np-scope.np-style-tech-forward *,
  .np-scope.np-style-tech-forward *::before,
  .np-scope.np-style-tech-forward *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}