/* ============================================
   main.css – Premium White / Violet Design System
   Apple‑inspired · Clean · Minimal · Growth Lab Aesthetic
   For Clever ROI Platform – Fully Upgraded & Enhanced
   All original class names and content preserved
   ============================================ */

/* ----- VARIABLES (8px grid, colors, fonts) ----- */
:root {
  /* Colors - strict light UI */
  --white: #FFFFFF;
  --soft-bg: #F5F7FA;
  --divider: #E6EAF0;
  --border-light: #E2E8F0;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --footer-bg: #111827;
  --footer-text: #FFFFFF;
  --footer-text-secondary: #9CA3AF;
  --accent: #6D28FF;
  --accent-hover: #5B21D6;
  --accent-soft: #F3F0FF;
  --accent-light: #8B5CF6;

  /* Dark mode overrides (applied via body.dark-mode) */
  --dark-bg: #0A0C10;
  --dark-surface: #1A1E24;
  --dark-border: #2D323A;
  --dark-text-primary: #EDF2F7;
  --dark-text-secondary: #A0AEC0;
  --dark-accent-soft: #2D1B4A;
  --dark-accent: #8B5CF6;

  /* Spacing (8px grid) – refined for premium feel */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  /* Typography */
  --font-heading: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shadows – enhanced with glow capabilities */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
  --shadow-soft: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
  --glow-accent: 0 0 0 1px var(--accent), 0 0 20px -4px var(--accent);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode variables */
body.dark-mode {
  --white: var(--dark-bg);
  --soft-bg: var(--dark-surface);
  --divider: var(--dark-border);
  --border-light: var(--dark-border);
  --text-primary: var(--dark-text-primary);
  --text-secondary: var(--dark-text-secondary);
  --footer-bg: #030507;
  --footer-text: var(--dark-text-primary);
  --footer-text-secondary: var(--dark-text-secondary);
  --accent: var(--dark-accent);
  --accent-hover: #A78BFA;
  --accent-soft: var(--dark-accent-soft);
}

/* Reduce motion for low-power devices */
.reduce-motion * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  transition: background-color 0.3s, color 0.3s;
}

/* ----- TYPOGRAPHY (refined) ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  transition: color 0.3s;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
  transition: color 0.3s;
}

.large-text {
  font-size: 1.125rem;
  color: var(--text-primary);
}

/* ----- CONTAINER & UTILITIES ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.text-center {
  text-align: center;
}

/* ----- BUTTONS – refined micro‑interactions ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px -6px var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px var(--accent);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px -2px rgba(109, 40, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-4) var(--space-7);
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

/* ----- HEADER & TOP BAR – improved depth & sticky behavior ----- */
.glass-top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-2) 0;
  font-size: 0.875rem;
  transition: background-color 0.3s, border-color 0.3s;
  position: relative;
  z-index: 101;
}

.top-bar-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.enterprise-ping {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
}

.ping-indicator {
  width: 0.5rem;
  height: 0.5rem;
  background: #10b981;
  border-radius: 50%;
  position: relative;
}

.ping-indicator.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #10b981;
  border-radius: 50%;
  animation: ping 2s infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.micro-action {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.micro-action:hover {
  color: var(--accent);
}

.msme-certified {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent-soft);
  color: var(--accent);
  padding: var(--space-1) var(--space-3);
  border-radius: 2rem;
  font-weight: 500;
  font-size: 0.75rem;
  transition: background-color 0.3s, color 0.3s;
}

/* Main header – enhanced sticky with shadow */
.cognitive-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: var(--transition), background-color 0.3s, border-color 0.3s;
}

.cognitive-header.scrolled {
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.9);
}

body.dark-mode .cognitive-header.scrolled {
  background: rgba(10, 12, 16, 0.9);
}

.header-matrix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.cognitive-logo {
  display: flex;
  align-items: center;
}

.logo-signal {
  height: 40px;
}

.logo-mark {
  height: 100%;
  width: auto;
  transition: transform 0.2s;
}

.cognitive-logo:hover .logo-mark {
  transform: scale(1.05);
}

/* Navigation – improved hover stability */
.neural-nav {
  display: flex;
  align-items: center;
}

.nav-neural {
  display: flex;
  list-style: none;
  gap: var(--space-2);
}

.nav-node {
  position: static;
}

.nav-link-cognitive {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
  position: relative;
}

.nav-link-cognitive::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link-cognitive:hover {
  color: var(--text-primary);
}

.nav-link-cognitive:hover::after,
.nav-node.active .nav-link-cognitive::after {
  transform: scaleX(1);
}

.nav-chevron {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.has-neural:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Mega menus – full width, improved hover and transitions */
.neural-drop.full-width .neural-panel {
  position: absolute;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 99;
  pointer-events: none;
}

.neural-drop.full-width:hover .neural-panel,
.neural-drop.full-width:focus-within .neural-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.neural-grid {
  display: grid;
  gap: var(--space-5);
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.about-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.neural-column {
  display: flex;
  flex-direction: column;
}

.neural-category {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 2px solid var(--accent-soft);
  padding-bottom: var(--space-2);
  transition: border-color 0.3s;
}

.neural-category i {
  font-size: 1rem;
  color: var(--accent);
}

.neural-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.neural-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid transparent;
}

.neural-item:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--glow-accent);
}

.neural-item i {
  font-size: 1.2rem;
  color: var(--accent);
  width: 1.5rem;
  text-align: center;
}

.neural-item h6 {
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.neural-item p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Products grid inside mega menu */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

/* Main products section */
.neural-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-5);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-accent);
  border-color: var(--accent);
}

.product-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--accent);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: var(--space-1) var(--space-2);
  border-radius: 2rem;
}

.product-icon {
  width: 3rem;
  height: 3rem;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  transition: var(--transition);
}

.product-card:hover .product-icon {
  transform: scale(1.1);
  background: var(--accent);
}

.product-card:hover .product-icon i {
  color: var(--white);
}

.product-icon i {
  font-size: 1.5rem;
  color: var(--accent);
  transition: color 0.3s;
}

.product-content h5 {
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

.product-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.product-features span {
  font-size: 0.6875rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: var(--space-1) var(--space-2);
  border-radius: 2rem;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-light);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: rotate(15deg);
  border-color: var(--accent);
}

/* Mobile toggle */
.neural-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border-light);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}

.neural-toggle:hover {
  border-color: var(--accent);
}

.neural-line {
  width: 1.2rem;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.neural-toggle:hover .neural-line:nth-child(1) {
  transform: translateY(-2px);
}

.neural-toggle:hover .neural-line:nth-child(3) {
  transform: translateY(2px);
}

/* Mobile overlay – enhanced with proper z-index and background */
.neural-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  justify-content: flex-end;
  backdrop-filter: blur(4px);
}

.neural-overlay.active {
  display: flex;
}

.neural-mobile {
  background: var(--white);
  width: 80%;
  max-width: 400px;
  height: 100%;
  overflow-y: auto;
  padding: var(--space-5);
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
  position: relative;
  z-index: 1001;
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: var(--space-5);
}

.neural-close {
  background: var(--soft-bg);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.neural-close:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav .nav-link-cognitive {
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--soft-bg);
  border-radius: 8px;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: var(--transition);
}

.mobile-nav .nav-link-cognitive:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateX(4px);
}

.mobile-cta {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Nested accordion for mobile mega menu (JS‑driven) */
.mobile-nav-item {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-submenu {
  list-style: none;
  padding-left: var(--space-5);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-nav-item.active .mobile-submenu {
  max-height: 1000px; /* Will be dynamically set by JS */
}

.mobile-submenu .nav-link-cognitive {
  background: transparent;
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  justify-content: flex-start;
}

/* ----- HERO SECTION – enhanced visuals with animated SVG & mesh ----- */
.screen-hero {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
  padding: var(--space-7) 0;
  position: relative;
  overflow: hidden;
}

.screen-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(109, 40, 255, 0.03) 1px, rgba(109, 40, 255, 0.03) 2px),
    repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(109, 40, 255, 0.03) 1px, rgba(109, 40, 255, 0.03) 2px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 1;
}

.screen-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle at 30% 50%, rgba(109, 40, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 36rem;
}

.hero-badges {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--soft-bg);
  border: 1px solid var(--border-light);
  border-radius: 2rem;
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-5);
  transition: background-color 0.3s, border-color 0.3s;
}

.badge-cognitive {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.badge-cognitive i {
  color: var(--accent);
}

.hero-title {
  margin-bottom: var(--space-4);
}

.cognitive-highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.cognitive-highlight::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 0.25rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: var(--space-5);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-5);
}

.stat-neural {
  text-align: left;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
  transition: color 0.3s;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

/* Hero right visual container – enhanced with animated SVG */
.hero-dashboard {
  position: relative;
  perspective: 2000px;
}

.dashboard-container {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.dashboard-container:hover {
  box-shadow: var(--shadow-elevated), var(--glow-accent);
  transform: translateY(-4px) scale(1.01);
}

.dashboard-header {
  padding: var(--space-4) var(--space-5);
  background: var(--soft-bg);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s, border-color 0.3s;
}

.dashboard-header h4 {
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-primary);
}

.dashboard-status {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}

/* ----- HERO VISUAL: Ads + Automation Growth Engine ----- */
.hero-visual-new {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.platform-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.platform-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.platform-icon i {
  font-size: 1.8rem;
  color: var(--accent);
  background: var(--white);
  padding: 10px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon:hover i {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-md), var(--glow-accent);
  color: var(--accent-hover);
}

.core-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
  transform: perspective(800px) rotateX(2deg) rotateY(1deg);
  transition: transform 0.3s;
  margin: var(--space-3) 0;
}

.core-panel:hover {
  transform: perspective(800px) rotateX(1deg) rotateY(0.5deg) translateY(-2px);
  box-shadow: var(--shadow-lg), var(--glow-accent);
}

.core-title {
  text-align: center;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-4);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.core-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.core-block {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-2) var(--space-2);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.core-block:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: scale(1.02);
}

.growth-curve-container {
  margin-top: var(--space-2);
  height: 70px;
  position: relative;
}

.growth-curve-svg {
  width: 100%;
  height: 100%;
}

.growth-path {
  stroke: var(--accent);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--accent));
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawGrowth 2s ease forwards;
}

@keyframes drawGrowth {
  to { stroke-dashoffset: 0; }
}

/* Connection lines & dots (SVG overlay) */
.connection-layer {
  position: relative;
  width: 100%;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 5;
}

.connection-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connection-path {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  opacity: 0.6;
  fill: none;
}

.data-dot {
  fill: var(--accent);
  r: 3;
  filter: drop-shadow(0 0 4px var(--accent));
}

/* Parallax container */
.parallax-container {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Mobile adjustments for hero visual */
@media (max-width: 768px) {
  .core-panel {
    transform: none;
  }
  .core-blocks {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-row {
    justify-content: center;
  }
  .growth-path {
    stroke-dashoffset: 0; /* static on mobile */
  }
  .connection-svg {
    display: none; /* hide connections on mobile for simplicity */
  }
}

/* ----- TARGETING TRANSFORMATION (Challenge) – New Version ----- */
.targeting-svg {
  width: 100%;
  height: auto;
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

.chaos-state, .growth-state {
  transition: opacity 0.8s ease;
}

.growth-state {
  opacity: 0;
}

.transformed .chaos-state {
  opacity: 0;
}

.transformed .growth-state {
  opacity: 1;
}

.chaos-line {
  stroke: #ef4444;
  stroke-width: 2;
  stroke-dasharray: 5 3;
}

.growth-line {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 5 3;
}

.chaos-arrow {
  fill: #ef4444;
}

.growth-arrow {
  fill: var(--accent);
}

.target-circle {
  fill: none;
  stroke-width: 2;
}

.chaos-target {
  stroke: #ef4444;
}

.growth-target {
  stroke: var(--accent);
}

.declining-graph {
  stroke: #ef4444;
  stroke-width: 2;
  fill: none;
  filter: drop-shadow(0 0 2px #ef4444);
}

.rising-graph {
  stroke: var(--accent);
  stroke-width: 3;
  fill: none;
  filter: drop-shadow(0 0 6px var(--accent));
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1s ease;
}

.transformed .rising-graph {
  stroke-dashoffset: 0;
}

.leak-dot {
  fill: #ef4444;
  opacity: 0.7;
}

.transformed .leak-dot {
  opacity: 0;
}

@media (max-width: 768px) {
  .rising-graph {
    stroke-dashoffset: 0;
  }
}

/* ----- TRUST LOGOS SECTION ----- */
.trust-logos {
  padding: var(--space-7) 0;
  background: var(--soft-bg);
  transition: background-color 0.3s;
}

.trust-label {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  font-size: 0.875rem;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-5);
  align-items: center;
}

.logo-item {
  opacity: 0.7;
  transition: var(--transition);
  display: flex;
  justify-content: center;
}

.logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.logo-item img {
  max-width: 100%;
  height: auto;
  max-height: 2.5rem;
  filter: grayscale(100%) contrast(0.9);
  transition: filter 0.3s;
}

.logo-item:hover img {
  filter: grayscale(0%) contrast(1);
}

/* ----- SECTIONS (shared) – improved spacing, more premium ----- */
.screen-section {
  padding: var(--space-7) 0;
}

.screen-section:nth-child(even) {
  background: var(--soft-bg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.section-label {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: var(--space-1) var(--space-3);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}

.section-title {
  margin-bottom: var(--space-3);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 42rem;
  margin: 0 auto;
}

/* ----- SERVICES CARDS (3) – enhanced hover effects, more compact ----- */
.services-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

/* Base card style */
.service-card,
.industry-card,
.testimonial-card,
.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-5);
  transition: var(--transition);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
  position: relative;
  overflow: hidden;
}

.service-card:hover,
.industry-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 30px -10px rgba(109,40,255,0.15), 0 0 0 1px var(--accent) inset, var(--glow-accent);
}

.service-header {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(145deg, #f0f2f5, #ffffff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 16px -8px rgba(109, 40, 255, 0.2), inset 0 -2px 0 rgba(0,0,0,0.05), inset 0 2px 2px rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 12px 24px -8px rgba(109, 40, 255, 0.3), var(--glow-accent);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--accent);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
  transition: color 0.3s;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}

.service-metrics {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.service-metric {
  font-size: 0.6875rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: var(--space-1) var(--space-2);
  border-radius: 2rem;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.service-description {
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: var(--space-4);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.service-features i {
  color: var(--accent);
  font-size: 0.75rem;
}

/* ----- INDUSTRIES CARDS (6) ----- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-5);
  transition: var(--transition);
}

.industry-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(145deg, #f0f2f5, #ffffff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.05), inset 0 2px 2px rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}

.industry-card:hover .industry-icon {
  transform: scale(1.1);
  box-shadow: var(--glow-accent);
}

.industry-icon i {
  font-size: 1.5rem;
  color: var(--accent);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

.industry-card h3 {
  margin-bottom: var(--space-2);
}

.industry-card p {
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.industry-stats {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.industry-clients {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.client-tag {
  font-size: 0.6875rem;
  padding: var(--space-1) var(--space-2);
  background: var(--soft-bg);
  color: var(--text-secondary);
  border-radius: 2rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.client-tag:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.industries-cta {
  text-align: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-light);
}

.industries-cta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

/* Four column industries */
.industries-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
}

/* ----- DETAILED INDUSTRIES SECTION ----- */
.detailed-industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.detailed-industry-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-5);
  transition: var(--transition);
}
.detailed-industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-accent);
  border-color: var(--accent);
}
.industry-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.industry-header i {
  font-size: 2rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 12px;
  border-radius: 50%;
  transition: var(--transition);
}
.detailed-industry-card:hover .industry-header i {
  transform: scale(1.1);
  background: var(--accent);
  color: var(--white);
}
.industry-header h3 {
  margin: 0;
}
.industry-capabilities {
  list-style: none;
  margin-top: var(--space-4);
}
.industry-capabilities li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.industry-capabilities i {
  color: var(--accent);
}

/* ----- TWO COLUMN GRID ----- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.large-text {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.checklist {
  list-style: none;
}
.checklist li {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
}
.checklist i {
  color: var(--accent);
  font-size: 1.25rem;
  width: 1.5rem;
}

/* ----- PROBLEM VISUAL – enhanced ----- */
.advanced-problem-visual svg {
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.advanced-problem-visual line,
.advanced-problem-visual rect,
.advanced-problem-visual circle {
  transition: stroke 0.3s, fill 0.3s;
}
.advanced-problem-visual:hover line {
  stroke: var(--accent);
}
.advanced-problem-visual rect:hover,
.advanced-problem-visual circle:hover {
  filter: drop-shadow(0 0 6px var(--accent));
}

/* ----- PHILOSOPHY TIMELINE ----- */
.philosophy-timeline {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.timeline-step {
  flex: 1;
  text-align: center;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  position: relative;
  transition: var(--transition);
}
.timeline-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-accent);
  border-color: var(--accent);
}
.step-marker {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-3);
  font-size: 1.125rem;
}

/* ----- PROCESS TIMELINE ----- */
.process-timeline {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.process-step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.step-number {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(145deg, #f0f2f5, #ffffff);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 8px 16px -4px rgba(109, 40, 255, 0.3), inset 0 -2px 0 rgba(0,0,0,0.05), inset 0 2px 2px rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}
.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: var(--glow-accent);
}
.step-content h3 {
  margin-bottom: var(--space-3);
}
.step-content p {
  margin-bottom: var(--space-4);
}
.step-details-enhanced {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}
.step-details-enhanced li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.step-details-enhanced i {
  color: var(--accent);
  font-size: 0.75rem;
}

/* ----- FRAMEWORK ACCORDION – dynamic height ready (JS will control) ----- */
.framework-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  border-bottom: 1px solid var(--border-light);
  transition: border-color 0.3s;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
}
.accordion-trigger:hover {
  color: var(--accent);
}
.accordion-trigger i:last-child {
  margin-left: auto;
  transition: transform 0.3s;
}
.accordion-item.active .accordion-trigger i:last-child {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding-right: var(--space-5);
}
.accordion-item.active .accordion-content {
  max-height: 1000px; /* Will be overridden by JS, but fallback */
  padding-bottom: var(--space-4);
}
.pillar-icon {
  color: var(--accent);
  font-size: 1.5rem;
}

/* ----- EXECUTION GRID ----- */
.execution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

/* ----- IMPACT GRID (COUNTERS) ----- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.impact-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-5);
  text-align: center;
  transition: var(--transition);
}
.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-accent);
  border-color: var(--accent);
}
.impact-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.impact-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ----- DARK SECTION (PROOF) – enhanced with glow ----- */
.dark-section {
  background: var(--footer-bg);
  color: var(--footer-text);
  transition: background-color 0.3s;
}
.dark-section .section-header.light .section-label {
  background: rgba(255,255,255,0.1);
  color: var(--footer-text);
}
.dark-section .section-header.light .section-title {
  color: var(--footer-text);
}
.dark-section .section-header.light .section-subtitle {
  color: rgba(255,255,255,0.8);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.proof-card {
  background: rgba(255,255,255,0.12); /* increased brightness for contrast */
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: var(--space-5);
  text-align: center;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}
.proof-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(109,40,255,0.3);
}
.proof-metric {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-light); /* lighter accent for better visibility */
  margin-bottom: var(--space-2);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.proof-desc {
  color: rgba(255,255,255,0.95); /* brighter */
  font-size: 0.875rem;
  font-weight: 400;
}

/* ----- FOUNDER PLACEHOLDER ----- */
.founder-placeholder {
  background: var(--soft-bg);
  border-radius: 24px;
  width: 100%;
  aspect-ratio: 1 / 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}
.founder-placeholder:hover {
  box-shadow: var(--shadow-lg), var(--glow-accent);
  border-color: var(--accent);
}
.founder-placeholder i {
  font-size: 6rem;
  opacity: 0.3;
}
.founder-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- ENGAGEMENT GRID ----- */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.engagement-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-5);
  transition: var(--transition);
}
.engagement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-accent);
  border-color: var(--accent);
}
.engagement-level {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-3);
  font-size: 1.125rem;
}

/* ----- STACK GRID ----- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.stack-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition);
}
.stack-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--glow-accent);
}
.stack-item i {
  color: var(--accent);
  font-size: 1.25rem;
}

/* ----- COMPARISON GRID ----- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.comparison-col {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-5);
  transition: var(--transition);
}
.comparison-col.highlight {
  border-color: var(--accent);
  box-shadow: 0 8px 20px -8px var(--accent);
}
.comparison-col:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-accent);
}
.comparison-col h3 {
  margin-bottom: var(--space-4);
  font-size: 1.25rem;
}
.comparison-col ul {
  list-style: none;
}
.comparison-col li {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
}
.comparison-col i.fa-check-circle {
  color: var(--accent);
}
.comparison-col i.fa-times-circle {
  color: #ef4444;
}

/* ----- INSIGHTS GRID ----- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-5);
  transition: var(--transition);
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-accent);
  border-color: var(--accent);
}
.insight-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
}
.insight-card a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}
.insight-card a:hover {
  color: var(--accent);
}
.insight-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: var(--space-3);
  transition: transform 0.3s;
}
.insight-card:hover img {
  transform: scale(1.03);
}

/* ----- MSME ADVANTAGE ----- */
.msme-advantage {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.msme-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-7);
  align-items: center;
}
.msme-title {
  font-size: 2rem;
  margin-bottom: var(--space-4);
}
.msme-description {
  margin-bottom: var(--space-5);
  color: var(--text-secondary);
}
.msme-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.msme-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-primary);
}
.msme-feature i {
  color: var(--accent);
  font-size: 1.25rem;
}
.msme-badge-large {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 280px;
  transition: var(--transition);
}
.msme-badge-large:hover {
  box-shadow: var(--shadow-lg), var(--glow-accent);
  transform: translateY(-4px);
}
.msme-badge-large img {
  width: 80px;
  height: auto;
  margin-bottom: var(--space-3);
}
.msme-badge-large h4 {
  margin-bottom: var(--space-1);
  color: var(--text-primary);
}
.msme-badge-large p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  font-size: 0.875rem;
}

/* ----- TESTIMONIALS – enhanced slider ----- */
.testimonial-slider {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-6);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: opacity 0.5s, transform 0.5s;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.testimonial-card:first-child {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial-content {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  font-style: italic;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.author-avatar {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(145deg, #f0f2f5, #ffffff);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.05), inset 0 2px 2px rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.5);
}
.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.125rem;
}
.author-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.author-company {
  color: var(--accent);
  font-weight: 500;
}
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.control-btn {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--border-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}
.control-btn.active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ----- CTA SECTION – redesigned modern look with fixes ----- */
.cta-section {
  background: linear-gradient(145deg, var(--accent), #8B5CF6);
  color: white;
}
.cta-section .cta-content {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: var(--space-7);
  border-radius: 32px;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  transition: var(--transition);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.3);
}
.cta-section .cta-content:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 0 2px rgba(255,255,255,0.5);
}
.cta-title {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.cta-description {
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: var(--space-6);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-5);
  flex-wrap: wrap;
}
.cta-buttons .btn {
  min-width: 240px;
}
.cta-section .btn-primary {
  background: white;
  color: var(--accent);
  border: none;
}
.cta-section .btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.3);
}
.cta-section .btn-secondary {
  border-color: white;
  color: white;
  background: transparent;
}
.cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: white;
  color: white;
}
.cta-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.cta-stat-item {
  text-align: center;
}
.cta-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-1);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.cta-stat-label {
  font-size: 0.75rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.cta-note {
  margin-top: var(--space-4);
  font-size: 0.875rem;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Premium CTA variation (if needed) */
.cta-section .premium-cta {
  background: #6d28ff;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ----- FAQ SECTION ----- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-5);
  transition: var(--transition);
}
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-accent);
  border-color: var(--accent);
}
.faq-item h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}
.faq-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ----- FOOTER – improved depth ----- */
.cognitive-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--space-7) 0 var(--space-5);
  transition: background-color 0.3s;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.footer-logo .logo-mark {
  height: 2rem;
  width: auto;
  filter: brightness(0) invert(1);
}
.logo-type {
  display: flex;
  gap: var(--space-1);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-primary {
  color: var(--footer-text);
}
.logo-secondary {
  color: var(--accent);
}
.footer-description {
  color: var(--footer-text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: var(--space-3);
}
.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}
.social-link:hover {
  background: var(--accent);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 0 20px var(--accent);
}
.footer-column h5 {
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
  color: var(--footer-text);
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}
.footer-column h5::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.footer-column:hover h5::after {
  width: 50px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: var(--space-2);
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--footer-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.footer-links i {
  font-size: 0.75rem;
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.8125rem;
}
.footer-legal {
  display: flex;
  gap: var(--space-4);
}
.footer-legal a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: var(--accent);
}

/* ----- ANIMATIONS & TRANSITIONS ----- */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-on-scroll.animate-in,
.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}
a, button, .btn, .service-card, .industry-card, .product-card, .testimonial-card, .social-link {
  transition: var(--transition);
}
img {
  transition: transform 0.3s ease;
}
img:hover {
  transform: scale(1.03);
}

/* ----- MEGA MENU CTA ----- */
.mega-cta {
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-4);
}

/* ----- ICON FALLBACK ----- */
.fas, .far, .fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif;
}
.fas, .far {
  font-weight: 900;
}
.far {
  font-weight: 400;
}
.fab {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

/* Fix for "Conversion Architecture" icon */
.fa-chart-scatter::before {
  content: "\f1fe"; /* Font Awesome 6 solid chart-scatter */
}
.service-card .fa-chart-scatter {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* ----- PRODUCT DASHBOARD PREVIEW (enhanced) ----- */
.product-dashboard-preview {
  background: var(--white);
  border-radius: 24px;
  padding: var(--space-5);
  box-shadow: var(--shadow-soft), 0 10px 30px -10px rgba(109,40,255,0.2);
  border: 1px solid var(--border-light);
  max-width: 480px;
  margin: 0 auto;
  transition: var(--transition);
}
.product-dashboard-preview:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-elevated), 0 0 0 2px var(--accent), 0 20px 40px -10px var(--accent);
}
.product-dashboard-preview .kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.product-dashboard-preview .kpi-card {
  background: var(--soft-bg);
  border-radius: 16px;
  padding: var(--space-3);
  text-align: center;
  border: 1px solid var(--border-light);
}
.product-dashboard-preview .kpi-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.product-dashboard-preview .kpi-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.product-dashboard-preview .badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  background: var(--accent);
}
.product-dashboard-preview .badge.hot {
  background: #ef4444;
}
.product-dashboard-preview .badge.score-high {
  background: #10b981;
}
.product-dashboard-preview .badge.score-mid {
  background: #fbbf24;
  color: #1f2937;
}
.product-dashboard-preview .recent-leads {
  margin-top: var(--space-4);
  background: var(--soft-bg);
  border-radius: 16px;
  padding: var(--space-3);
  border: 1px solid var(--border-light);
}
.product-dashboard-preview .leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}
.product-dashboard-preview .leads-table td {
  padding: 8px 4px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}
.product-dashboard-preview .leads-table tr:last-child td {
  border-bottom: none;
}
.product-dashboard-preview .leads-table td:first-child {
  font-weight: 500;
}
.product-dashboard-preview .leads-table td:nth-child(2) {
  color: var(--text-secondary);
}
.product-dashboard-preview .leads-table td:last-child {
  text-align: right;
}

/* ----- INDUSTRY TAGS (reused from lead-scoring) ----- */
.ls-industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-6);
}
.ls-industry-tags span {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.2s;
  color: var(--text-secondary);
}
.ls-industry-tags span:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
  color: var(--accent);
}

/* ----- RESPONSIVE MEDIA QUERIES – enhanced spacing, refined for premium ----- */
@media (max-width: 1024px) {
  .hero-matrix {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .services-showcase,
  .industries-grid,
  .services-grid,
  .products-grid,
  .neural-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-neural {
    display: none;
  }
  .neural-toggle {
    display: flex;
  }
  .header-actions .btn {
    display: none;
  }
  .mobile-cta .btn {
    display: block;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .industries-grid.four-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .execution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .engagement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ad-platforms {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --space-7: 48px;
    --space-8: 64px;
  }
  .screen-hero {
    min-height: auto;
    padding: var(--space-6) 0;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .services-showcase,
  .industries-grid,
  .services-grid,
  .products-grid,
  .neural-products,
  .logos-grid,
  .industries-grid.four-col,
  .execution-grid,
  .engagement-grid,
  .proof-grid,
  .insights-grid,
  .faq-grid,
  .detailed-industries-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .philosophy-timeline {
    flex-direction: column;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .msme-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  .step-number {
    margin: 0 auto;
  }
  .step-details-enhanced {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
  .trust-icons {
    flex-wrap: wrap;
    justify-content: center;
  }
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .top-bar-actions {
    display: none;
  }
  .glass-top-bar .enterprise-ping span {
    font-size: 0.75rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: var(--space-3);
  }
  .hero-actions .btn {
    width: 100%;
  }
  .cta-stats {
    flex-direction: column;
    gap: var(--space-4);
  }
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .advanced-problem-visual svg {
    max-width: 100%;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-buttons .btn {
    width: 100%;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .detailed-industries-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .service-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .service-icon {
    margin-bottom: var(--space-2);
  }
  .product-card {
    padding: var(--space-4);
  }
  .section-title {
    font-size: 1.75rem;
  }
  .hero-badges {
    flex-wrap: wrap;
    justify-content: center;
  }
  .cognitive-logo .logo-mark {
    max-height: 40px;
  }
}
/* ===== HERO SECTION UPGRADE – Growth & ROI Visual ===== */
/* Smaller, more refined buttons */
.btn {
  padding: 0.5rem 1.5rem !important;        /* reduced from 0.75rem 2rem */
  font-size: 0.875rem !important;           /* slightly smaller */
  border-radius: 2rem !important;
  letter-spacing: -0.01em !important;
}
.btn-lg {
  padding: 0.75rem 2rem !important;         /* previously 1rem 2.5rem */
  font-size: 1rem !important;
}
.btn-primary {
  box-shadow: 0 4px 12px -4px var(--accent) !important;
}
.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px -6px var(--accent) !important;
}
.btn-secondary {
  border-width: 1.5px !important;           /* thinner border */
}

/* Hero visual – transform into a growth‑focused ROI dashboard */
.screen-hero .hero-dashboard {
  perspective: none;                         /* remove 3D tilt for cleaner look */
}
.dashboard-container {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 2rem;                       /* more rounded corners */
  overflow: visible;                         /* allow pseudo‑elements */
  position: relative;
}
.dashboard-container::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 6rem;
  height: 3rem;
  background: var(--accent);
  border-radius: 3rem 0 3rem 0;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

/* Platform icons – arranged to feed into the core */
.platform-row {
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.platform-icon {
  font-size: 0.6rem;
}
.platform-icon i {
  font-size: 1.5rem;                         /* smaller icons */
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.platform-icon:hover i {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px -6px var(--accent);
}

/* Core panel – becomes a representation of the growth engine */
.core-panel {
  background: linear-gradient(145deg, var(--white), var(--soft-bg));
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin: 0 0 1rem 0;
  transform: none;                            /* remove 3D tilt */
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}
.core-title {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.core-blocks {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.core-block {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 2rem;                        /* pill shape */
  padding: 0.4rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.core-block:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: scale(1.02);
}

/* Growth curve – now with area fill and a glowing line */
.growth-curve-container {
  margin: 1rem 0 0.5rem;
  height: 80px;
  position: relative;
}
.growth-curve-svg {
  width: 100%;
  height: 100%;
}
.growth-path {
  stroke: var(--accent);
  stroke-width: 3;
  fill: none;
  filter: drop-shadow(0 0 6px var(--accent));
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawGrowth 2s ease forwards;
}
/* Add a gradient fill under the curve */
.growth-curve-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, var(--accent-soft), transparent);
  border-radius: 0 0 1rem 1rem;
  pointer-events: none;
  opacity: 0.3;
}

/* Connection lines – more dynamic */
.connection-svg .connection-path {
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
  opacity: 0.5;
}
.data-dot {
  fill: var(--accent);
  r: 4;
  filter: drop-shadow(0 0 4px var(--accent));
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.8; r: 4; }
  50% { opacity: 1; r: 5; }
}

/* Add a prominent ROI metric badge */
.dashboard-container::after {
  content: 'ROAS 12x';
  position: absolute;
  bottom: -0.75rem;
  right: 1rem;
  background: var(--accent);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 4px 12px -4px var(--accent);
  z-index: 10;
  animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ensure the dashboard container has room for the badge */
.dashboard-container {
  margin-bottom: 1rem;
}

/* Optional: hide the old status badge if it's redundant */
.dashboard-status {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.2rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.7rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .btn, .btn-lg {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.875rem !important;
  }
  .dashboard-container::after {
    font-size: 0.75rem;
    bottom: -0.5rem;
    right: 0.5rem;
  }
  .core-blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ===== THREE OVERLAPPING CARDS (Advertising, Growth, Automation) ===== */
.hero-visual-hd {
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-cards-overlap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.overlap-card {
    width: 240px;
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem 1rem 1rem 1.5rem;
    box-shadow: var(--shadow-lg), 0 20px 30px -10px rgba(0,0,0,0.15);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 -20px; /* negative margin for overlap */
    z-index: auto;
}

/* Specific colors */
.card-advertising {
    background: #E3F0FF;  /* soft blue */
    z-index: 3;
    transform: rotate(-2deg);
}
.card-growth {
    background: #F3E8FF;  /* soft violet */
    z-index: 2;
    transform: rotate(1deg) translateY(10px);
}
.card-automation {
    background: #F5F5F5;  /* light gray */
    z-index: 1;
    transform: rotate(-1deg) translateY(5px);
}

/* Hover effect */
.overlap-card:hover {
    transform: scale(1.02) translateY(-5px) rotate(0deg);
    z-index: 10;
    box-shadow: var(--shadow-xl), 0 0 0 2px var(--accent);
}

/* Card icon */
.card-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255,255,255,0.5);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--accent);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Card title */
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

/* Card list */
.card-list {
    list-style: none;
    margin-bottom: 1rem;
    flex: 1;
}
.card-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.card-list li i {
    width: 1rem;
    color: var(--accent);
}

/* Card arrow */
.card-arrow {
    align-self: flex-end;
    width: 2rem;
    height: 2rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
    margin-top: 0.5rem;
    transition: var(--transition);
}
.overlap-card:hover .card-arrow {
    background: var(--accent);
    color: white;
    transform: translateX(4px);
}

/* Responsive stacking */
@media (max-width: 1024px) {
    .hero-cards-overlap {
        flex-direction: column;
        gap: 1rem;
    }
    .overlap-card {
        width: 100%;
        max-width: 320px;
        margin: 0; /* remove overlap on mobile */
        transform: none !important;
    }
}
/* ===== FIVE‑CARD HERO – TWO ROWS, SMALLER, PERFECT OVERLAP ===== */

/* 1. Dashboard container – transparent, full width, no extra spacing */
.screen-hero .hero-dashboard {
    width: 100%;
    padding: 0;
    margin: 0;
}

.screen-hero .dashboard-container,
.screen-hero .dashboard-container.glass-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    position: relative;
}

/* Remove any default pseudo‑elements */
.screen-hero .dashboard-container::before,
.screen-hero .dashboard-container::after {
    content: none;
}

/* 2. Cards container – two rows */
.hero-cards-overlap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.cards-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Desktop: no wrapping, fixed negative margins for overlap */
@media (min-width: 1025px) {
    .cards-row {
        flex-wrap: nowrap;
    }
    .cards-row .overlap-card {
        margin: 0 -1rem;          /* horizontal overlap – adjust as needed */
        width: 220px;              /* smaller cards for premium look */
    }
    .row-1 {
        margin-bottom: -1.5rem;    /* vertical overlap */
        z-index: 10;
    }
    .row-2 {
        margin-top: -1.5rem;
        z-index: 5;
    }
}

/* Mobile/tablet: stack cards vertically */
@media (max-width: 1024px) {
    .cards-row {
        flex-direction: column;
        margin: 0 !important;
    }
    .cards-row .overlap-card {
        margin: 0 0 1rem 0 !important;
        width: 100%;
        max-width: 320px;
    }
    .row-1, .row-2 {
        margin: 0 !important;
    }
}

/* 3. Card base styles – clickable, premium shadows, saturated colours */
.overlap-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 1.8rem;
    padding: 1.5rem 1rem 1rem 1.5rem;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2),
                0 10px 18px -6px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    position: relative;
}

/* Distinctive saturated colours */
.card-advertising { background: #B8E0FF; }  /* bright blue */
.card-growth      { background: #D9C2FF; }  /* rich violet */
.card-automation  { background: #E0E8F0; }  /* crisp blue‑gray */
.card-seo         { background: #C7E9C0; }  /* soft green */
.card-consulting  { background: #FFD9B0; }  /* warm peach */

/* Hover effect – lift, scale, accent border, arrow animation */
.overlap-card:hover {
    transform: scale(1.03) translateY(-6px) rotate(0deg);
    box-shadow: 0 25px 35px -12px rgba(109, 40, 255, 0.4),
                0 0 0 2px var(--accent) inset;
    z-index: 20;
}

/* Arrow styling */
.card-arrow {
    width: 2.2rem;
    height: 2.2rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    margin-top: 1rem;
    float: right;
    clear: both;
}

.overlap-card:hover .card-arrow {
    background: var(--accent);
    color: white;
    transform: translateX(6px) scale(1.1);
}

/* Card content */
.card-icon {
    width: 2.8rem;
    height: 2.8rem;
    background: rgba(255,255,255,0.5);
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--accent);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-list {
    list-style: none;
    margin-bottom: 0.8rem;
    clear: both;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.card-list li i {
    width: 1rem;
    color: var(--accent);
}

/* 4. (Optional) ROAS badge – remove if not wanted */
.screen-hero .dashboard-container::after {
    content: 'ROAS 12x';
    position: absolute;
    bottom: -0.6rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 1.2rem;
    border-radius: 2rem;
    box-shadow: 0 6px 14px -5px var(--accent);
    z-index: 30;
    animation: fadeInUp 0.5s ease;
    white-space: nowrap;
}

/* 5. Responsive badge adjustment */
@media (max-width: 768px) {
    .screen-hero .dashboard-container::after {
        bottom: -0.4rem;
        right: 0.8rem;
        font-size: 0.7rem;
        padding: 0.2rem 1rem;
    }
}
/* ===== HERO CARD MOBILE FIX – preserve two rows, smaller cards ===== */
@media (max-width: 1024px) {
    /* Override previous mobile stacking – keep side‑by‑side */
    .cards-row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        width: 100%;
        margin: 0 !important;
    }
    .cards-row .overlap-card {
        width: 187px !important;               /* 15% smaller than desktop 220px */
        margin: 0 -12px !important;             /* horizontal overlap */
        flex-shrink: 0;
    }
    .row-1 {
        margin-bottom: -20px !important;        /* vertical overlap */
    }
    .row-2 {
        margin-top: -20px !important;
    }
    .hero-cards-overlap {
        gap: 0 !important;
        overflow-x: auto;                        /* scroll if needed */
        overflow-y: visible;
        padding: 1rem 0;                         /* space for shadows */
        -webkit-overflow-scrolling: touch;
    }
    /* Optional subtle scrollbar */
    .hero-cards-overlap::-webkit-scrollbar {
        height: 4px;
    }
    .hero-cards-overlap::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 10px;
    }
    /* Scale card content proportionally */
    .overlap-card {
        padding: 1.2rem 0.8rem 0.8rem 1.2rem;
    }
    .card-icon {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    .card-title {
        font-size: 1rem;
    }
    .card-list li {
        font-size: 0.7rem;
        gap: 0.4rem;
    }
    .card-list li i {
        width: 0.9rem;
    }
    .card-arrow {
        width: 1.8rem;
        height: 1.8rem;
        margin-top: 0.5rem;
    }
    /* ROAS badge adjustment if present */
    .screen-hero .dashboard-container::after {
        bottom: -0.5rem;
        right: 0.8rem;
        font-size: 0.7rem;
        padding: 0.2rem 1rem;
    }
}

/* Boost hover z-index to ensure card appears above others */
.overlap-card:hover {
    z-index: 100 !important;
}
/* ===== HOVER STACKING FIX – bring hovered card fully to front ===== */
.overlap-card:hover {
    z-index: 999 !important;
    position: relative; /* already relative, but ensures stacking context */
}

/* Ensure rows don't clip the hovered card */
.cards-row {
    overflow: visible !important;
}
/* ========== UPGRADE ADDITIONS ========== */

/* Hero digital growth visual */
.growth-visual {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem;
}

.growth-visual svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(109,40,255,0.1));
}

/* Service cards in Revenue-Focused Execution section – inherit hero card styling */
#execution .service-card {
    border-radius: 1.8rem;
    padding: 1.5rem 1rem 1rem 1.5rem;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2),
                0 10px 18px -6px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    border: none;
    backdrop-filter: none;
    background: #ffffff; /* fallback, overridden by gradients below */
}

#execution .service-card:hover {
    transform: scale(1.03) translateY(-6px) rotate(0deg);
    box-shadow: 0 25px 35px -12px rgba(109, 40, 255, 0.4),
                0 0 0 2px var(--accent) inset;
    z-index: 20;
}

/* Distinct gradients for each card (8 cards) */
#execution .service-card:nth-child(1) { background: linear-gradient(145deg, #f0f5ff, #ffffff); }
#execution .service-card:nth-child(2) { background: linear-gradient(145deg, #f5f0ff, #ffffff); }
#execution .service-card:nth-child(3) { background: linear-gradient(145deg, #f0faf0, #ffffff); }
#execution .service-card:nth-child(4) { background: linear-gradient(145deg, #fff0f5, #ffffff); }
#execution .service-card:nth-child(5) { background: linear-gradient(145deg, #f0f0ff, #ffffff); }
#execution .service-card:nth-child(6) { background: linear-gradient(145deg, #faf0e0, #ffffff); }
#execution .service-card:nth-child(7) { background: linear-gradient(145deg, #e8f0fa, #ffffff); }
#execution .service-card:nth-child(8) { background: linear-gradient(145deg, #ffe8f0, #ffffff); }

/* Card content – ensure text is dark */
#execution .service-card .service-icon i {
    color: var(--accent);
}
#execution .service-card h3 {
    color: var(--text-primary);
}
#execution .service-card p {
    color: var(--text-secondary);
}

/* Challenge section image */
.challenge-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}
.challenge-image:hover {
    transform: scale(1.02);
}

/* Proof section upgrade – light gradient background, dark text */
#proof {
    background: linear-gradient(145deg, #f9f5ff, #ffffff);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
#proof .section-label {
    background: var(--accent-soft);
    color: var(--accent);
}
#proof .section-title {
    color: var(--text-primary);
}
#proof .proof-card {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(109,40,255,0.2);
    box-shadow: 0 10px 20px -8px rgba(109,40,255,0.2);
    backdrop-filter: blur(5px);
}
#proof .proof-metric {
    color: var(--accent);
}
#proof .proof-desc {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Ensure existing hover effects remain */
#proof .proof-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 30px -12px rgba(109,40,255,0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .growth-visual {
        padding: 0.5rem;
    }
    #execution .service-card {
        padding: 1.2rem 0.8rem 0.8rem 1.2rem;
    }
}
/* ========== UPGRADE ADDITIONS ========== */

/* Hero digital growth visual */
.growth-visual {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 1rem;
}

.growth-visual svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(109,40,255,0.1));
}

/* Service cards in Revenue-Focused Execution section – inherit hero card styling */
#execution .service-card {
    border-radius: 1.8rem;
    padding: 1.5rem 1rem 1rem 1.5rem;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2),
                0 10px 18px -6px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    border: none;
    backdrop-filter: none;
    background: #ffffff; /* fallback, overridden by gradients below */
    position: relative;
}

#execution .service-card:hover {
    transform: scale(1.03) translateY(-6px) rotate(0deg);
    box-shadow: 0 25px 35px -12px rgba(109, 40, 255, 0.4),
                0 0 0 2px var(--accent) inset;
    z-index: 20;
}

/* Distinct gradients for each card (8 cards) */
#execution .service-card:nth-child(1) { background: linear-gradient(145deg, #f0f5ff, #ffffff); }
#execution .service-card:nth-child(2) { background: linear-gradient(145deg, #f5f0ff, #ffffff); }
#execution .service-card:nth-child(3) { background: linear-gradient(145deg, #f0faf0, #ffffff); }
#execution .service-card:nth-child(4) { background: linear-gradient(145deg, #fff0f5, #ffffff); }
#execution .service-card:nth-child(5) { background: linear-gradient(145deg, #f0f0ff, #ffffff); }
#execution .service-card:nth-child(6) { background: linear-gradient(145deg, #faf0e0, #ffffff); }
#execution .service-card:nth-child(7) { background: linear-gradient(145deg, #e8f0fa, #ffffff); }
#execution .service-card:nth-child(8) { background: linear-gradient(145deg, #ffe8f0, #ffffff); }

/* Card content – ensure text is dark */
#execution .service-card .service-icon i {
    color: var(--accent);
}
#execution .service-card h3 {
    color: var(--text-primary);
}
#execution .service-card p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem; /* make room for arrow */
}

/* Arrow styling – matches hero card arrow */
#execution .service-card .card-arrow {
    width: 2.2rem;
    height: 2.2rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    float: right;
    clear: both;
}

#execution .service-card:hover .card-arrow {
    background: var(--accent);
    color: white;
    transform: translateX(6px) scale(1.1);
}

/* Challenge section image */
.challenge-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}
.challenge-image:hover {
    transform: scale(1.02);
}

/* Proof section upgrade – light gradient background, dark text */
#proof {
    background: linear-gradient(145deg, #f9f5ff, #ffffff);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
#proof .section-label {
    background: var(--accent-soft);
    color: var(--accent);
}
#proof .section-title {
    color: var(--text-primary);
}
#proof .proof-card {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(109,40,255,0.2);
    box-shadow: 0 10px 20px -8px rgba(109,40,255,0.2);
    backdrop-filter: blur(5px);
}
#proof .proof-metric {
    color: var(--accent);
}
#proof .proof-desc {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Ensure existing hover effects remain */
#proof .proof-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 30px -12px rgba(109,40,255,0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .growth-visual {
        padding: 0.5rem;
    }
    #execution .service-card {
        padding: 1.2rem 0.8rem 0.8rem 1.2rem;
    }
    #execution .service-card p {
        margin-bottom: 2rem;
    }
    #execution .service-card .card-arrow {
        width: 1.8rem;
        height: 1.8rem;
    }
}
/* Arrow link styling – clickable only arrow, no underline */
.card-arrow-link {
    text-decoration: none;
    display: inline-block;
    float: right;
    clear: both;
    margin-top: 0.5rem; /* match existing arrow margin */
    line-height: 0;      /* remove extra spacing */
}

.card-arrow-link:hover .card-arrow {
    background: var(--accent);
    color: white;
    transform: translateX(6px) scale(1.1);
}