/* ==========================================================================
   BHARATEDGE SERVICES - PREMIUM CSS DESIGN SYSTEM & PAGE TRANSITIONS
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-primary: #fcfdfe;
  --bg-secondary: #f4f6fa;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  
  --brand-orange: #ff5722;
  --brand-orange-hover: #e64a19;
  --brand-orange-light: #ffebe5;
  --brand-orange-rgb: 255, 87, 34;
  
  --accent-purple: #6366f1;
  --accent-purple-light: #e0e7ff;
  
  --border-color: #e2e8f0;
  --border-focus: #ff5722;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout & Spacing */
  --header-height: 80px;
  --container-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 24px -10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --shadow-orange: 0 10px 25px -5px rgba(255, 87, 34, 0.3);
  --glow-ambient: 0 0 80px rgba(255, 87, 34, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Logo Swap */
.logo-light,
.footer-logo-light {
  display: block;
}

.logo-dark,
.footer-logo-dark {
  display: none;
}

.dark-theme .logo-light,
.dark-theme .footer-logo-light {
  display: none;
}

.dark-theme .logo-dark,
.dark-theme .footer-logo-dark {
  display: block;
}

/* Dark Mode Theme Variables */
.dark-theme {
  --bg-primary: #0a0d14;
  --bg-secondary: #101422;
  --bg-card: #151a2e;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border-color: #1e293b;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 24px -10px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 10px 25px -5px rgba(255, 87, 34, 0.2);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

p {
  text-align: justify;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
  border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* Particles.js Background Container */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  opacity: 0.95;
  transition: opacity var(--transition-normal);
  background: linear-gradient(135deg, #FAFAFC 0%, #F4F6F8 100%);
}

.dark-theme #particles-js {
  background: linear-gradient(135deg, #0a0d14 0%, #101422 100%);
}

.ambient-glows {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.glow-bubble-1 {
  width: 45vw;
  height: 45vw;
  top: -10vw;
  right: -10vw;
  background-color: var(--brand-orange);
  animation: floatGlow1 28s ease-in-out infinite alternate;
}

.glow-bubble-2 {
  width: 35vw;
  height: 35vw;
  bottom: 5vw;
  left: -5vw;
  background-color: var(--accent-purple);
  animation: floatGlow2 34s ease-in-out infinite alternate;
}

.glow-bubble-3 {
  width: 30vw;
  height: 30vw;
  top: 35%;
  left: 45%;
  background-color: var(--brand-orange);
  opacity: 0.07;
  animation: floatGlow3 24s ease-in-out infinite alternate;
}

@keyframes floatGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8vw, 12vh) scale(1.15); }
}

@keyframes floatGlow2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10vw, -10vh) scale(1.2); }
}

@keyframes floatGlow3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6vw, -6vh) scale(0.9); }
}

.dark-theme .glow-bubble {
  opacity: 0.08;
  mix-blend-mode: screen;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(var(--brand-orange-rgb), 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

.custom-cursor.hover {
  width: 12px;
  height: 12px;
  background-color: var(--brand-orange-hover);
}

.custom-cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(var(--brand-orange-rgb), 0.8);
  background-color: rgba(var(--brand-orange-rgb), 0.05);
}

@media (max-width: 768px) {
  .custom-cursor, .custom-cursor-ring {
    display: none;
  }
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.grid {
  display: grid;
  gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Header & Dropdown Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition-normal), border var(--transition-normal), backdrop-filter var(--transition-normal);
}

header.scrolled {
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
}

header.light-scrolled { background-color: rgba(252, 253, 254, 0.85) !important; }
header.dark-scrolled { background-color: rgba(10, 13, 20, 0.85) !important; }

header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 44px;
  width: 134px;
  object-fit: contain;
  object-position: left center;
}

.logo-light {
  display: block;
  width: 134px;
}

.logo-dark {
  display: none;
  width: 134px;
}

.dark-theme .logo-light {
  display: none;
}

.dark-theme .logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-orange);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Navigation Dropdown Menu styling */
.nav-dropdown-wrap {
  position: relative;
}

.dropdown-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-dropdown-wrap:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 1050;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background-color: transparent;
}

.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown.force-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(8px) !important;
}



.dropdown-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-secondary);
}

.dropdown-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-orange);
  flex-shrink: 0;
}

.dropdown-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}

.dropdown-item span {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  border-color: var(--text-light);
}

.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun-icon { display: none; }
.dark-theme .theme-toggle .sun-icon { display: block; }
.dark-theme .theme-toggle .moon-icon { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--brand-orange);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--brand-orange-hover);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--text-main);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Back navigation links styling */
.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-back-btn:hover {
  color: var(--brand-orange-hover);
}

.blog-back-btn svg {
  transition: transform var(--transition-fast);
}

.blog-back-btn:hover svg {
  transform: translateX(-4px);
}

/* Mobile Menu Buttons */
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.menu-btn span {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-normal);
}

@media (max-width: 900px) {
  .menu-btn {
    display: flex;
    border: 1px solid var(--border-color);
    background: transparent;
    transition: all var(--transition-fast);
  }
  .menu-btn:hover {
    background: rgba(255, 87, 34, 0.08);
    border-color: var(--brand-orange);
  }
  .menu-btn.active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
  }
  .menu-btn.active span {
    background-color: #ffffff;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    left: 16px;
    right: 16px;
    width: auto;
    height: auto;
    max-height: calc(82vh - var(--header-height));
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 0 20px rgba(255, 87, 34, 0.02);
    z-index: 999;
    
    transform: translateY(-15px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  .dark-theme .nav-links {
    background-color: rgba(21, 26, 46, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 87, 34, 0.12);
  }

  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    width: 100%;
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    justify-content: space-between;
    transition: all var(--transition-fast);
  }

  .dark-theme .nav-link {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
  }

  .dark-theme .nav-link:hover, 
  .dark-theme .nav-link.active,
  .nav-link:hover, 
  .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--brand-orange), var(--accent-purple));
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(255, 87, 34, 0.2);
  }

  .nav-link::after {
    display: none;
  }

  .nav-dropdown-wrap {
    width: 100%;
  }

  /* Make accordion structure */
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    width: 100% !important;
    max-height: 0;
    overflow: hidden;
    padding: 0 12px !important;
    border: none !important;
    box-shadow: none !important;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 14px;
    margin-top: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, margin 0.3s, padding 0.3s;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    display: grid !important;
  }

  .dark-theme .nav-dropdown {
    background: rgba(255, 255, 255, 0.02);
  }

  .nav-dropdown-wrap.active .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    max-height: 500px;
    padding: 12px 10px !important;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    transition: all var(--transition-fast);
  }

  .dark-theme .dropdown-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
  }

  .dropdown-item:hover {
    background: rgba(255, 87, 34, 0.08) !important;
    border-color: rgba(255, 87, 34, 0.15);
  }

  .dropdown-item i, .dropdown-item svg {
    width: 16px;
    height: 16px;
    color: var(--brand-orange);
  }

  .dropdown-item strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
  }

  .dropdown-item span {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    margin-right: 16px;
  }
}

/* PAGE TRANSITION OVERLAY - removed */

.page-transition-overlay.transitioning .transition-content {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.2s;
}

.page-transition-overlay.transitioning .loader-bar {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--brand-orange-light);
  color: var(--brand-orange-hover);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.dark-theme .hero-tag {
  background-color: rgba(255, 87, 34, 0.1);
  color: var(--brand-orange);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-title span.accent {
  color: var(--brand-orange);
  background: linear-gradient(135deg, var(--brand-orange) 0%, #ff8a65 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Floating Mockups */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 24px;
}

.floating-card-1 { width: 85%; height: 75%; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; }
.floating-card-2 { width: 45%; bottom: 0; left: -20px; z-index: 3; }
.floating-card-3 { width: 45%; top: 10%; right: -20px; z-index: 2; }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--brand-orange-light);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon-wrap svg { width: 16px; height: 16px; }
.metric-large { font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.metric-trend { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 600; color: #10b981; }

.micro-chart { width: 100%; height: 120px; margin-top: 16px; }
.sparkline-path {
  fill: none;
  stroke: var(--brand-orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawChart 3s ease-in-out forwards;
}

@keyframes drawChart { to { stroke-dashoffset: 0; } }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
}

/* Logos Marquee */
.marquee-section {
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.marquee-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 20px;
}

.marquee-container { display: flex; width: 100%; overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 80px; width: max-content; animation: scrollMarquee 25s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0px;
  opacity: 0.85;
  transition: all var(--transition-fast);
  text-align: center;
}
.marquee-item:hover { opacity: 1; color: var(--brand-orange); }
.marquee-item svg { width: 24px; height: 24px; }
.marquee-item img {
  height: 60px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: none;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.dark-theme .marquee-item img {
  filter: drop-shadow(1px 0px 0px rgba(255, 255, 255, 0.9)) 
          drop-shadow(-1px 0px 0px rgba(255, 255, 255, 0.9)) 
          drop-shadow(0px 1px 0px rgba(255, 255, 255, 0.9)) 
          drop-shadow(0px -1px 0px rgba(255, 255, 255, 0.9));
}
.marquee-item:hover img {
  transform: scale(1.08);
}
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Premium Hero Section */
.hero-section-premium {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 100px;
  position: relative;
  background: transparent;
  overflow: hidden;
}

/* Floating Gradient Blobs */
.hero-blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 400px;
  height: 400px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(135deg, #FF5A1F 0%, #FF8A5C 100%);
  top: -100px;
  left: -50px;
  animation: blob1 20s ease-in-out infinite;
}

.hero-blob-2 {
  width: 500px;
  height: 500px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, #7C6CFF 0%, #9E8FFF 100%);
  bottom: -150px;
  right: -100px;
  animation: blob2 25s ease-in-out infinite;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  border-radius: 70% 30% 50% 50% / 50% 70% 30% 50%;
  background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%);
  top: 40%;
  right: 25%;
  animation: blob3 18s ease-in-out infinite;
}

@keyframes blob1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  33% { transform: translate(30px, 20px) rotate(90deg) scale(1.1); border-radius: 30% 60% 70% 40% / 70% 30% 50% 60%; }
  66% { transform: translate(-20px, 30px) rotate(180deg) scale(0.95); border-radius: 70% 30% 50% 60% / 30% 60% 70% 40%; }
}

@keyframes blob2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  33% { transform: translate(-30px, -20px) rotate(-120deg) scale(1.05); border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  66% { transform: translate(20px, -30px) rotate(-240deg) scale(0.9); border-radius: 30% 70% 30% 70% / 70% 70% 30% 30%; }
}

@keyframes blob3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 70% 30% 50% 50% / 50% 70% 30% 50%; }
  33% { transform: translate(25px, -25px) rotate(150deg) scale(1.15); border-radius: 50% 70% 30% 50% / 70% 30% 50% 50%; }
  66% { transform: translate(-25px, 25px) rotate(300deg) scale(0.9); border-radius: 30% 50% 70% 30% / 50% 50% 30% 70%; }
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(124, 108, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 90, 31, 0.04) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  background-position: 0 0, 25px 25px;
  opacity: 0.7;
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-lines::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(90deg, rgba(255, 90, 31, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(124, 108, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: linesMove 60s linear infinite;
}



.hero-grid-premium {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  justify-items: start;
  position: relative;
  z-index: 10;
}

.hero-text-premium {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.12) 0%, rgba(124, 108, 255, 0.08) 100%);
  color: #FF5A1F;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 90, 31, 0.15);
}

.hero-badge-dot {
  width: 10px;
  height: 10px;
  background: #FF5A1F;
  border-radius: 50%;
  animation: pulseBadge 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 90, 31, 0.5);
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
}

.hero-title-premium {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;
  color: #101828;
  margin-bottom: 28px;
  overflow: hidden;
}

.hero-word {
  display: inline-block;
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  transform-origin: bottom center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* GSAP will override opacity/transform — this is just the CSS default so content
   is visible even if GSAP hasn't run yet or fails to load */

.hero-word:hover {
  transform: scale(1.05) translateY(-3px);
  color: #FF5A1F;
}

.hero-word.word-6:hover {
  color: #7C6CFF !important;
}

.accent-gradient {
  background: linear-gradient(135deg, #FF5A1F 0%, #FF8A5C 40%, #7C6CFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc-premium {
  font-size: 1.2rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 48px;
  opacity: 1;
  transform: translateY(0);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  opacity: 1;
  transform: translateY(0);
}

.btn-primary-premium {
  background: linear-gradient(135deg, #FF5A1F 0%, #FF8A5C 100%);
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(255, 90, 31, 0.25);
}

.btn-primary-premium:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 90, 31, 0.35);
}

.btn-secondary-premium {
  background: transparent;
  color: #101828;
  border: 2px solid #E2E8F0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.btn-secondary-premium:hover {
  border-color: #FF5A1F;
  background: rgba(255, 90, 31, 0.06);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.12);
}

.btn-arrow {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(0);
}

.btn-premium:hover .btn-arrow {
  transform: translateX(6px);
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.7s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(5);
    opacity: 0;
  }
}

/* Hero Growth Engine */
.hero-engine {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  min-height: 450px;
}

.engine-paths {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.engine-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.engine-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #FF5A1F 0%, #FF8A5C 100%);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 90, 31, 0.8);
  pointer-events: none;
}

.engine-dashboard {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  background: linear-gradient(135deg, #ffffff 0%, #F8FAFC 100%);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.15);
  border: 1px solid rgba(255, 90, 31, 0.12);
  z-index: 10;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dashboard-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #101828;
}

.dashboard-status-dot {
  width: 12px;
  height: 12px;
  background: #10B981;
  border-radius: 50%;
  animation: pulseGreen 2s ease-in-out infinite;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  50% { transform: scale(1.2); box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.dashboard-metric {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.metric-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: #101828;
}

.dashboard-graph {
  width: 100%;
  height: 80px;
}

.graph-svg {
  width: 100%;
  height: 100%;
}

/* Floating Modules */
.module {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  border: 1px solid #E2E8F0;
  z-index: 5;
  transition: all 0.3s ease;
  cursor: pointer;
}

.module:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.15);
  border-color: #FF5A1F;
}

.module-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* New Modern Hero Visual Styles */
.hero-visual-new {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 480px;
}

.hero-visual-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-main-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  background: linear-gradient(145deg, #ffffff 0%, #fdfdfd 100%);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 10;
  overflow: hidden;
}

.hero-main-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 90, 31, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-main-card-header {
  margin-bottom: 28px;
}

.hero-main-card-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-main-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.hero-main-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-main-metric-value {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: #101828;
}

.hero-main-metric-label {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
  line-height: 1.3;
}

.hero-graph-container {
  width: 100%;
  height: 120px;
  overflow: hidden;
  border-radius: 12px;
}

.hero-graph-svg {
  width: 100%;
  height: 100%;
}

.hero-floating-card {
  position: absolute;
  background: white;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(16,24,40,0.14);
  border: 1px solid rgba(226,232,240,0.9);
  z-index: 15;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-floating-conv {
  top: -12px;
  right: 12px;
  z-index: 16;
  animation-delay: 0s;
}

.hero-floating-cpl {
  bottom: -12px;
  left: 12px;
  z-index: 14;
  animation-delay: 1.5s;
}

.hero-floating-card-value {
  font-size: 1.6rem;
}

.hero-floating-card-label {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero-floating-card-value {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: #101828;
  margin-bottom: 8px;
}

.hero-floating-card-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  color: #059669;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Responsive: stack floating cards under the main card on narrow viewports */
@media (max-width: 600px) {
  .hero-visual-new { max-width: 100%; min-height: auto; }
  .hero-main-card { position: relative; top: auto; left: auto; transform: none; width: 100%; padding: 20px; }
  .hero-floating-card {
    position: relative;
    margin: 12px auto 0;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    animation: none;
    display: block;
    width: calc(100% - 32px);
  }
}

/* ====================================================
   SKALE-STYLE VERTICAL SCROLLING HERO MARQUEE
   ==================================================== */

.hero-marquee-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: calc(100vh - 280px);
  min-height: 480px;
  max-height: 680px;
  overflow: hidden;
  border-radius: 28px;
  justify-self: end;
  /* Animated gradient background */
  background: linear-gradient(135deg,
    rgba(255, 107, 53, 0.06) 0%,
    rgba(6, 182, 212, 0.05) 25%,
    rgba(139, 92, 246, 0.05) 50%,
    rgba(16, 185, 129, 0.05) 75%,
    rgba(255, 107, 53, 0.04) 100%);
  background-size: 400% 400%;
  animation: wrapperGradientShift 10s ease infinite;
}

/* Animated background gradient for the wrapper */
@keyframes wrapperGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating particle dots overlay */
.hero-marquee-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 107, 53, 0.35) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(6, 182, 212, 0.3) 1px, transparent 1px),
    radial-gradient(circle, rgba(139, 92, 246, 0.25) 1px, transparent 1px);
  background-size: 90px 90px, 140px 140px, 200px 200px;
  background-position: 0 0, 45px 45px, 90px 20px;
  animation: floatingParticles 20s linear infinite;
  opacity: 0.7;
}

@keyframes floatingParticles {
  0% { background-position: 0 0, 45px 45px, 90px 20px; }
  100% { background-position: 90px 90px, 135px 135px, 290px 110px; }
}


.stat-box {
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.stat-box::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255, 87, 34, 0.08), transparent 35%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-box:hover::after {
  opacity: 1;
}

.stat-box h3 {
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Gradient fade overlays for seamless visual loop */
.hero-marquee-fade {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 20;
  pointer-events: none;
}

.hero-marquee-fade-top {
  top: 0;
  background: linear-gradient(to bottom, 
    rgba(250, 250, 252, 1) 0%, 
    rgba(250, 250, 252, 0.8) 30%, 
    rgba(250, 250, 252, 0) 100%);
}

.hero-marquee-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, 
    rgba(250, 250, 252, 1) 0%, 
    rgba(250, 250, 252, 0.8) 30%, 
    rgba(250, 250, 252, 0) 100%);
}

.dark-theme .hero-marquee-fade-top {
  background: linear-gradient(to bottom, 
    rgba(10, 13, 20, 1) 0%, 
    rgba(10, 13, 20, 0.8) 30%, 
    rgba(10, 13, 20, 0) 100%);
}

.dark-theme .hero-marquee-fade-bottom {
  background: linear-gradient(to top, 
    rgba(10, 13, 20, 1) 0%, 
    rgba(10, 13, 20, 0.8) 30%, 
    rgba(10, 13, 20, 0) 100%);
}

.hero-marquee-container {
  display: flex;
  gap: 20px;
  height: 100%;
  width: 100%;
}

.hero-marquee-column {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Scroll Animation Tracks */
.hero-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.marquee-scroll-up {
  animation: heroScrollUp 20s linear infinite;
}

.marquee-scroll-down {
  animation: heroScrollDown 20s linear infinite;
}

/* Pause on hover */
.hero-marquee-wrapper:hover .marquee-scroll-up,
.hero-marquee-wrapper:hover .marquee-scroll-down {
  animation-play-state: paused;
}

@keyframes heroScrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes heroScrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* Service Card Styles */
.hero-service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 20px;
  padding: 24px 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  /* Entrance animation */
  animation: cardEntrance 0.6s ease both;
}

/* Shimmer sweep on hover */
.hero-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0s;
  pointer-events: none;
  border-radius: inherit;
}

.hero-service-card:hover::after {
  transform: translateX(200%);
  transition: transform 0.65s ease;
}

.hero-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  transition: width 0.3s ease, box-shadow 0.3s ease;
}

.hero-service-card:hover {
  transform: scale(1.035) translateY(-3px);
  box-shadow: 0 20px 55px rgba(16, 24, 40, 0.14), 0 0 0 1px rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.2);
}

.hero-service-card:hover::before {
  width: 5px;
  box-shadow: 2px 0 12px 0 currentColor;
}

/* Card accent colors via ::before */
.hsc-website::before { background: linear-gradient(180deg, #06B6D4, #22D3EE); }
.hsc-ai::before { background: linear-gradient(180deg, #0EA5E9, #7DD3FC); }
.hsc-perf::before { background: linear-gradient(180deg, #FF5A1F, #FF8A5C); }
.hsc-crm::before { background: linear-gradient(180deg, #8B5CF6, #A78BFA); }
.hsc-seo::before { background: linear-gradient(180deg, #10B981, #34D399); }
.hsc-content::before { background: linear-gradient(180deg, #EC4899, #F9A8D4); }

/* Card entrance animation */
@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Icon Wrap */
.hsc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
}

/* Pulsing ring behind icon on hover */
.hsc-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  opacity: 0;
  border: 2px solid currentColor;
  animation: iconRingPulse 1.4s ease infinite;
  transition: opacity 0.3s ease;
}

.hero-service-card:hover .hsc-icon-wrap::after {
  opacity: 0.4;
}

@keyframes iconRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.18); opacity: 0; }
}

.hero-service-card:hover .hsc-icon-wrap {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.hsc-icon-cyan { background: rgba(6, 182, 212, 0.12); color: #06B6D4; }
.hsc-icon-blue { background: rgba(14, 165, 233, 0.12); color: #0EA5E9; }
.hsc-icon-orange { background: rgba(255, 90, 31, 0.12); color: #FF5A1F; }
.hsc-icon-purple { background: rgba(139, 92, 246, 0.12); color: #8B5CF6; }
.hsc-icon-green { background: rgba(16, 185, 129, 0.12); color: #10B981; }
.hsc-icon-pink { background: rgba(236, 72, 153, 0.12); color: #EC4899; }

/* Card Title */
.hsc-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #101828;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

/* Card Description */
.hsc-desc {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 14px;
}

/* Stats Row */
.hsc-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hsc-stat {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background: rgba(241, 245, 249, 0.8);
  padding: 4px 10px;
  border-radius: 8px;
}

.hsc-stat strong {
  color: #101828;
  font-weight: 800;
}

.hsc-stat-green {
  color: #059669 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  animation: statGreenPulse 2.5s ease-in-out infinite;
  position: relative;
}

@keyframes statGreenPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
  50% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12); }
}

.hsc-stat-green strong {
  color: #059669;
}

/* Tech Tags */
.hsc-tech-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hsc-tech-tags span {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(241, 245, 249, 0.6);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ====== DARK MODE — Hero Marquee ====== */
.dark-theme .hero-service-card {
  background: rgba(21, 26, 46, 0.9);
  border-color: rgba(30, 41, 59, 0.7);
}

.dark-theme .hero-service-card::after {
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 70%
  );
}

.dark-theme .hero-marquee-wrapper {
  background: linear-gradient(135deg,
    rgba(255, 107, 53, 0.08) 0%,
    rgba(6, 182, 212, 0.06) 25%,
    rgba(139, 92, 246, 0.07) 50%,
    rgba(16, 185, 129, 0.06) 75%,
    rgba(255, 107, 53, 0.06) 100%);
  background-size: 400% 400%;
  animation: wrapperGradientShift 10s ease infinite;
}

.dark-theme .hero-service-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(30, 41, 59, 0.3);
}

.dark-theme .hsc-title {
  color: #F8FAFC;
}

.dark-theme .hsc-desc {
  color: #94A3B8;
}

.dark-theme .hsc-stat {
  color: #94A3B8;
  background: rgba(30, 41, 59, 0.6);
}

.dark-theme .hsc-stat strong {
  color: #F8FAFC;
}

.dark-theme .hsc-tech-tags span {
  color: #64748B;
  background: rgba(30, 41, 59, 0.5);
}

.dark-theme .hero-section-premium {
  background: transparent;
}

.dark-theme .hero-title-premium {
  color: #F8FAFC;
}

.dark-theme .hero-desc-premium {
  color: #94A3B8;
}

.dark-theme .btn-secondary-premium {
  color: #F8FAFC;
  border-color: #1E293B;
}

.dark-theme .btn-secondary-premium:hover {
  border-color: #FF5A1F;
  background: rgba(255, 90, 31, 0.1);
}

/* Responsive: Hero Marquee */
@media (max-width: 1024px) {
  .hero-marquee-wrapper {
    max-width: 100%;
    height: 420px;
    min-height: 360px;
    max-height: 420px;
    margin: 0 auto;
  }
  
  .hero-grid-premium {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-text-premium {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-marquee-wrapper {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .hero-marquee-wrapper {
    height: 340px;
    min-height: 300px;
    max-height: 340px;
    border-radius: 20px;
  }
  
  .hero-marquee-container {
    gap: 12px;
  }
  
  .hero-service-card {
    padding: 18px 14px;
    border-radius: 16px;
  }
  
  .hsc-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-bottom: 10px;
  }
  
  .hsc-icon-wrap svg {
    width: 22px;
    height: 22px;
  }
  
  .hsc-title {
    font-size: 0.92rem;
  }
  
  .hsc-desc {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  
  .hsc-stats {
    gap: 6px;
    margin-bottom: 8px;
  }
  
  .hsc-stat {
    font-size: 0.68rem;
    padding: 3px 7px;
  }
  
  .hsc-tech-tags span {
    font-size: 0.62rem;
    padding: 2px 6px;
  }
}

.module-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #101828;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Module Positions & Colors */
.module-seo {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}
.module-seo .module-icon { background: #10B981; }

.module-google {
  top: 18%;
  right: 5%;
}
.module-google .module-icon { background: #FF5A1F; }

.module-meta {
  top: 18%;
  left: 5%;
}
.module-meta .module-icon { background: #7C6CFF; }

.module-website {
  top: 48%;
  left: 5%;
}
.module-website .module-icon { background: #06B6D4; }

.module-crm {
  bottom: 15%;
  left: 12%;
}
.module-crm .module-icon { background: #F97316; }

.module-analytics {
  top: 48%;
  right: 5%;
}
.module-analytics .module-icon { background: #7C6CFF; }

.module-whatsapp {
  bottom: 15%;
  right: 12%;
}
.module-whatsapp .module-icon { background: #25D366; }

.module-revenue {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}
.module-revenue .module-icon { background: #FF5A1F; }

/* Dark Mode Styles for Premium Hero */
.dark-theme .hero-section-premium {
  background: transparent;
}

.dark-theme .hero-grid-bg {
  background-image: 
    radial-gradient(circle, rgba(124, 108, 255, 0.15) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 90, 31, 0.08) 1px, transparent 1px);
}

.dark-theme .hero-geo-1 {
  opacity: 0.12;
}

.dark-theme .hero-geo-2 {
  opacity: 0.12;
}

.dark-theme .hero-geo-3 {
  opacity: 0.08;
}

.dark-theme .hero-badge {
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.2) 0%, rgba(124, 108, 255, 0.15) 100%);
  border-color: rgba(255, 90, 31, 0.3);
}

.dark-theme .hero-title-premium {
  color: #f8fafc;
}

.dark-theme .hero-word:hover {
  color: #FF5A1F;
}

.dark-theme .hero-word.word-6:hover {
  color: #9E8FFF !important;
}

.dark-theme .hero-desc-premium {
  color: #94a3b8;
}

.dark-theme .btn-secondary-premium {
  color: #f8fafc;
  border-color: #334155;
}

.dark-theme .btn-secondary-premium:hover {
  border-color: #FF5A1F;
  background: rgba(255, 90, 31, 0.12);
}

.dark-theme .engine-dashboard {
  background: linear-gradient(135deg, #151a2e 0%, #0f172a 100%);
  border-color: rgba(255, 90, 31, 0.2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.dark-theme .dashboard-title {
  color: #f8fafc;
}

.dark-theme .metric-value {
  color: #f8fafc;
}

.dark-theme .module {
  background: linear-gradient(135deg, #151a2e 0%, #0f172a 100%);
  border-color: #1e293b;
}

.dark-theme .module:hover {
  border-color: #FF5A1F;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.dark-theme .module-label {
  color: #f8fafc;
}

.dark-theme .hero-lines::before {
  background-image: 
    linear-gradient(90deg, rgba(255, 90, 31, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(124, 108, 255, 0.08) 1px, transparent 1px);
}

.dark-theme .hero-blob-1 {
  background: linear-gradient(135deg, #FF5A1F 0%, #FF8A5C 100%);
  opacity: 0.3;
}

.dark-theme .hero-blob-2 {
  background: linear-gradient(135deg, #7C6CFF 0%, #9E8FFF 100%);
  opacity: 0.25;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid-premium {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-text-premium {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-engine {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero-section-premium {
    padding-top: calc(var(--header-height) + 40px);
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-premium {
    width: 100%;
    justify-content: center;
  }
  
  .engine-dashboard {
    width: 220px;
    padding: 16px;
  }
  
  .module {
    padding: 12px 16px;
  }
  
  .module-label {
    font-size: 0.65rem;
  }
}

/* Section Title Component */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px auto; }
.section-tag {
  color: var(--brand-orange);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-desc { font-size: 1.05rem; color: var(--text-muted); }

/* Interactive ROI Calculator */
.calc-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.calc-inputs { display: flex; flex-direction: column; gap: 32px; }
.calc-group { display: flex; flex-direction: column; gap: 12px; }
.calc-label-wrap { display: flex; justify-content: space-between; align-items: center; }
.calc-label { font-weight: 600; font-size: 0.95rem; color: var(--text-main); }
.calc-val-bubble {
  font-weight: 700;
  color: var(--brand-orange);
  background-color: var(--brand-orange-light);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.85rem;
}
.dark-theme .calc-val-bubble { background-color: rgba(255, 87, 34, 0.15); }

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-orange);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s, background-color 0.2s;
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); background: var(--brand-orange-hover); }

.calc-results {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
}
.results-metrics { display: flex; flex-direction: column; gap: 28px; }
.results-item { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.results-item:last-child { border-bottom: none; padding-bottom: 0; }
.results-label { font-size: 0.9rem; font-weight: 500; color: var(--text-light); margin-bottom: 6px; }
.results-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.results-value.highlight { color: var(--brand-orange); }

@media (max-width: 900px) {
  .calc-card { grid-template-columns: 1fr; padding: 30px 20px; gap: 40px; }
  .calc-results { padding: 24px; }
}

/* Service Hub Cards Hover states */
.service-hub-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-orange) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* B2B Portfolio grid */
.case-filters { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}
.filter-btn:hover { border-color: var(--text-light); color: var(--text-main); }
.filter-btn.active { background-color: var(--text-main); color: var(--bg-primary); border-color: var(--text-main); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.case-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-orange); }

.case-img-wrap { width: 100%; aspect-ratio: 1.6; background-color: var(--bg-secondary); position: relative; overflow: hidden; }
.case-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--text-light);
  background: linear-gradient(135deg, rgba(var(--brand-orange-rgb), 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  transition: transform var(--transition-slow);
}
.case-card:hover .case-img-placeholder { transform: scale(1.05); }

.case-category {
  position: absolute; top: 16px; left: 16px; background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; color: var(--brand-orange-hover);
}

.case-content { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; }
.case-title-text { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.case-stats { display: flex; gap: 24px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border-color); }
.case-stat { display: flex; flex-direction: column; }
.case-stat-val { font-size: 1.35rem; font-weight: 800; color: var(--brand-orange); }
.case-stat-lbl { font-size: 0.75rem; font-weight: 600; color: var(--text-light); }

@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* Direct Contact Section */
.contact-section-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-info { display: flex; flex-direction: column; justify-content: center; }
.contact-header-text { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; margin-bottom: 24px; }
.contact-sub-text { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon-box {
  width: 48px; height: 48px; border-radius: 12px; background-color: var(--brand-orange-light); color: var(--brand-orange);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dark-theme .contact-icon-box { background-color: rgba(255, 87, 34, 0.12); }
.contact-icon-box svg { width: 22px; height: 22px; }
.contact-detail-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.contact-detail-val { color: var(--text-muted); font-size: 0.95rem; }

.contact-card-box { background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--text-main); }

.form-input {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-color);
  background-color: var(--bg-primary); color: var(--text-main); transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(var(--brand-orange-rgb), 0.15); }
textarea.form-input { min-height: 120px; resize: vertical; }

.form-status-msg { padding: 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; display: none; }
.form-status-msg.success { background-color: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }

@media (max-width: 900px) {
  .contact-section-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card-box { padding: 24px; }
}

/* Sliding Side Drawers */
.contact-drawer {
  position: fixed; top: 0; right: 0; width: 480px; max-width: 100%; height: 100vh;
  background-color: var(--bg-card); box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 2000; transform: translateX(100%); transition: transform var(--transition-normal);
  display: flex; flex-direction: column;
}
.contact-drawer.open { transform: translateX(0); }

.drawer-header { padding: 24px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.drawer-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.close-drawer-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all var(--transition-fast);
}
.close-drawer-btn:hover { background-color: var(--bg-secondary); color: var(--text-main); }
.close-drawer-btn svg { width: 18px; height: 18px; }

.drawer-body { flex-grow: 1; overflow-y: auto; padding: 32px 24px; }

.drawer-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px);
  z-index: 1999; opacity: 0; visibility: hidden; transition: opacity var(--transition-normal), visibility var(--transition-normal);
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

/* Interactive Content Calendar Tabs */
.cal-tab {
  background: var(--bg-card);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.cal-tab:hover {
  border-color: var(--text-light) !important;
  color: var(--text-main);
}
.cal-tab.active {
  background-color: var(--brand-orange) !important;
  color: #ffffff !important;
  border-color: var(--brand-orange) !important;
}

/* Diagnostic Quiz Options */
.diag-option {
  transition: all var(--transition-fast) !important;
  border: 1px solid var(--border-color) !important;
}
.diag-option:hover {
  border-color: var(--brand-orange) !important;
  transform: translateY(-2px);
  background-color: var(--bg-secondary);
}
.diag-option.selected {
  border-color: var(--accent-purple) !important;
  background-color: rgba(123, 97, 255, 0.05);
  box-shadow: 0 0 12px rgba(123, 97, 255, 0.15);
}

/* Footer */
footer { background-color: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 80px 0 40px 0; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr; gap: 40px; margin-bottom: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 20px; }
.footer-logo img { height: 36px; width: 110px; object-fit: contain; object-position: left center; }
.footer-desc { font-size: 0.95rem; }

.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  background-color: var(--bg-card); transition: all var(--transition-fast);
}
.social-link:hover { background-color: var(--brand-orange); color: #ffffff; border-color: var(--brand-orange); transform: translateY(-2px); }
.social-link svg { width: 16px; height: 16px; }

.footer-col-title { font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { font-size: 0.95rem; }
.footer-link:hover { color: var(--brand-orange); padding-left: 4px; }

.footer-newsletter-text { font-size: 0.9rem; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-input { flex-grow: 1; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); background-color: var(--bg-card); color: var(--text-main); font-size: 0.9rem; }
.newsletter-input:focus { border-color: var(--border-focus); }
.newsletter-btn { padding: 10px 18px; border-radius: var(--radius-sm); background-color: var(--brand-orange); color: #ffffff; font-weight: 600; font-size: 0.9rem; transition: background-color var(--transition-fast); }
.newsletter-btn:hover { background-color: var(--brand-orange-hover); }

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

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ==========================================================================
   MARKETING ECOSYSTEM WIDGET
   ========================================================================== */

#marketing-ecosystem {
  background-color: #F8F8FC;
  overflow: hidden;
  position: relative;
  min-height: 980px;
  padding: 100px 0;
}

/* Override the global .section padding to allow ecosystem to control its own */
#marketing-ecosystem.section {
  padding: 100px 0;
}

.dark-theme #marketing-ecosystem {
  background-color: #0d0f19;
}

.ecosystem-dot-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(123, 97, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
}

.ecosystem-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(123, 97, 255, 0.08) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.ecosystem-desktop-box {
  position: relative;
  width: 1200px;
  height: 800px;
  margin: 60px auto 0 auto;
  z-index: 4;
}

.ecosystem-svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.ecosystem-svg-overlay path {
  stroke: #7B61FF;
  stroke-width: 2px;
  fill: none;
  stroke-dasharray: 6, 6;
  opacity: 0.35;
  transition: opacity 0.4s, stroke-width 0.4s, stroke 0.4s;
}

.ecosystem-svg-overlay path.path-highlighted {
  stroke: #a56eff;
  stroke-width: 3.5px;
  opacity: 1;
}

.ecosystem-particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.eco-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #a56eff;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 10px #a56eff;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/* CTA Center Wrapper */
.eco-cta-wrapper {
  position: absolute;
  left: 600px;
  top: 400px;
  transform: translate(-50%, -50%);
  z-index: 10;
  will-change: transform, opacity;
}

.eco-btn-cta {
  border-radius: 18px !important;
  background: linear-gradient(135deg, #7B61FF 0%, #A56EFF 100%) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  padding: 18px 36px !important;
  box-shadow: 0 12px 30px rgba(123, 97, 255, 0.3) !important;
  border: none !important;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s !important;
}

.eco-btn-cta:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px rgba(123, 97, 255, 0.45) !important;
}

/* Premium Redesigned Card Styling */
.eco-card-premium {
  position: absolute;
  width: 190px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(123, 97, 255, 0.15);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  z-index: 6;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              opacity 0.4s ease;
  overflow: hidden;
  will-change: transform, scale, opacity;
}

.dark-theme .eco-card-premium {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.3);
}

.eco-card-premium:hover {
  box-shadow: 0 20px 40px -10px rgba(123, 97, 255, 0.25);
  z-index: 9;
  transform: translate(-50%, -50%) scale(1.04) translateY(-4px);
}

/* Navigate arrow badge shown on hover */
.eco-card-premium[data-href]::after {
  content: '→';
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-color, #7B61FF);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  line-height: 1;
}

.eco-card-premium[data-href]:hover::after {
  opacity: 1;
  transform: translateX(0);
}


.eco-card-premium.other-dimmed {
  opacity: 0.35;
  filter: blur(1px);
}

.eco-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
}

.eco-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
}

.eco-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eco-icon-wrap i, .eco-icon-wrap svg {
  width: 14px;
  height: 14px;
}

.eco-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.eco-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.eco-pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: pulse-ring 1.5s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.eco-body {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Score Ring Widget */
.eco-score-ring {
  position: relative;
  width: 44px;
  height: 44px;
  float: left;
  margin-right: 12px;
}

.eco-ring-svg {
  width: 100%;
  height: 100%;
}

.eco-ring-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.85rem;
  font-weight: 800;
}

.eco-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  min-height: 44px;
}

.eco-metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-light);
}

.eco-metric-row strong {
  font-weight: 700;
}

/* Bar Chart Widget */
.eco-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 32px;
  margin-bottom: 8px;
  padding: 0 4px;
}

.eco-bar {
  flex: 1;
  height: var(--bar-h, 10%);
  background: var(--bar-c, #7B61FF);
  border-radius: 2px 2px 0 0;
}

/* Sparkline Widget */
.eco-mini-sparkline {
  margin: 6px 0 8px 0;
}

/* Big Stat Widget */
.eco-big-stat {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
}

/* Social icons wrap */
.eco-social-icons {
  display: flex;
  gap: 4px;
}

.eco-social-tag {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Browser Mockup Widget */
.eco-browser-mock {
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}

.eco-browser-bar {
  display: flex;
  gap: 3px;
  padding: 4px 6px;
  background: var(--border-color);
  opacity: 0.7;
}

.eco-browser-bar span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.eco-browser-body {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eco-browser-line {
  height: 3px;
  background: var(--text-light);
  opacity: 0.25;
  border-radius: 1px;
}

/* Content Tags Widget */
.eco-content-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.eco-ctag {
  font-size: 0.62rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-light);
}

/* Email Mockup Widget */
.eco-email-vis {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px;
  margin-bottom: 6px;
}

.eco-email-envelope {
  font-size: 0.9rem;
  color: #0EA5E9;
}

.eco-email-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eco-email-lines div {
  height: 3px;
  background: var(--text-light);
  opacity: 0.3;
  border-radius: 1px;
}

/* WhatsApp Chat Widget */
.eco-chat-vis {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eco-chat-bubble {
  font-size: 0.62rem;
  padding: 4px 8px;
  border-radius: 8px;
  max-width: 90%;
  line-height: 1.2;
}

.eco-chat-in {
  background: var(--bg-secondary);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.eco-chat-out {
  background: rgba(37, 211, 102, 0.1);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 600;
}

/* CRM Pipeline Widget */
.eco-pipeline {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.eco-pipe-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
}

.eco-pipe-bar {
  width: 90px;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.eco-pipe-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--fill, 0%);
  background: var(--c, #ff5722);
}

/* Approval badge Widget */
.eco-approval-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Central Orbit CTA Decoration Rings */
.eco-cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(123, 97, 255, 0.15);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.eco-cta-ring-1 {
  width: 250px;
  height: 250px;
  animation: rotate-orbit 20s linear infinite;
  border-color: rgba(123, 97, 255, 0.2);
}

.eco-cta-ring-2 {
  width: 320px;
  height: 320px;
  animation: rotate-orbit-reverse 35s linear infinite;
  border-color: rgba(165, 110, 255, 0.12);
}

.eco-cta-ring-3 {
  width: 400px;
  height: 400px;
  animation: rotate-orbit 50s linear infinite;
  border-color: rgba(123, 97, 255, 0.08);
}

.eco-cta-icon {
  margin-right: 6px;
  display: inline-block;
  animation: spark-jolt 2s ease infinite;
}

@keyframes rotate-orbit {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-orbit-reverse {
  0% { transform: translate(-50%, -50%) rotate(360deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes spark-jolt {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2) rotate(10deg); }
}

/* Background animated geography accents */
.eco-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.eco-geo {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  mix-blend-mode: screen;
  pointer-events: none;
}

.dark-theme .eco-geo {
  opacity: 0.2;
}

.eco-geo-1 {
  top: 10%;
  left: 15%;
  width: 300px;
  height: 300px;
  background: #7B61FF;
}

.eco-geo-2 {
  top: 60%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: #A56EFF;
}

.eco-geo-3 {
  bottom: 5%;
  left: 20%;
  width: 250px;
  height: 250px;
  background: #06B6D4;
}

.eco-geo-4 {
  top: 30%;
  right: 35%;
  width: 350px;
  height: 350px;
  background: #ff5722;
}

/* Tablet & Mobile Grid support */
.ecosystem-tablet-mobile {
  display: none;
  position: relative;
  z-index: 5;
}

.eco-mobile-grid {
  display: grid;
  gap: 20px;
}

@media (max-width: 1100px) {
  .ecosystem-desktop-box {
    display: none;
  }
  .ecosystem-tablet-mobile {
    display: block;
  }
  .eco-mobile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-mobile-grid .eco-card-premium {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .eco-mobile-grid {
    grid-template-columns: 1fr;
    position: relative;
    padding-left: 28px;
  }
  
  .eco-mobile-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    width: 2px;
    height: 100%;
    background-image: linear-gradient(to bottom, #7B61FF 50%, transparent 50%);
    background-size: 2px 10px;
    opacity: 0.4;
  }
  
  .eco-mobile-grid .eco-card-premium {
    margin-bottom: 12px;
  }
}

/* ==========================================================================
   PREMIUM BLOGS & CASE STUDIES VIEWS STYLES
   ========================================================================== */

/* Hero layouts for premium sub-pages */
.premium-page-hero {
  position: relative;
  padding: 180px 0 100px 0;
  overflow: hidden;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.premium-hero-content {
  position: relative;
  z-index: 5;
}

/* Floating Gradient Blobs */
.hero-blob-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  opacity: 0.15;
  background: var(--accent-purple);
  width: 350px;
  height: 350px;
  top: 40%;
  right: 25%;
}

/* Search Bar Styling */
.search-trending-bar {
  margin-top: 40px;
  max-width: 700px;
  transform: translateY(30px);
  opacity: 0;
}

.animated-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 8px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.animated-search-wrapper:focus-within {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.15), var(--shadow-md);
  transform: scale(1.01);
}

.search-icon {
  color: var(--text-light);
  width: 20px;
  height: 20px;
  margin-right: 12px;
}

.blog-search-field {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
}

.search-clear-btn {
  color: var(--text-light);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.search-clear-btn:hover {
  color: var(--brand-orange);
}

/* Trending Keywords */
.trending-tags-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.trending-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trending-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trending-chip, .trending-large-chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 100px;
  transition: all 0.2s;
}

.trending-chip:hover, .trending-large-chip:hover {
  color: var(--brand-orange);
  border-color: var(--brand-orange);
  background: var(--brand-orange-light);
  transform: translateY(-2px);
}

/* Featured Blog Card */
.featured-blog-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.25) 0%, transparent 40%, rgba(99, 102, 241, 0.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.featured-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 15px 35px rgba(255, 87, 34, 0.08);
}

.featured-blog-card:hover::before {
  opacity: 1;
}

.featured-blog-image {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  max-height: 200px;
}

.featured-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(10, 13, 20, 0.4));
  z-index: 2;
}

.featured-blog-card:hover .featured-blog-image img {
  transform: scale(1.05);
}

.featured-blog-content {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.featured-blog-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.featured-category-badge {
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--brand-orange-light);
  color: var(--brand-orange-hover);
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-read-time, .featured-date {
  font-size: 0.78rem;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.featured-blog-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 6px;
}

.featured-blog-excerpt {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.featured-blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.featured-author-info {
  display: flex;
  flex-direction: column;
}

.featured-author-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-main);
}

.featured-author-title {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* Category Filters Chips Container */
.category-filters-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.category-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(21, 26, 46, 0.2);
  padding: 6px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
}

.filter-chip {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-chip:hover {
  color: var(--text-main);
}

.filter-chip.active {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

/* Bento Blog Grid */
.blogs-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.blog-bento-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.blog-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 87, 34, 0.08) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.blog-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.2) 0%, transparent 50%, rgba(99, 102, 241, 0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.blog-bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 15px 30px rgba(0, 0, 0, 0.3);
}

.blog-bento-card:hover .blog-card-glow,
.blog-bento-card:hover::before {
  opacity: 1;
}

.blog-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-bento-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--bg-card);
  color: var(--brand-orange-hover);
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--border-color);
  z-index: 5;
}

.blog-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.blog-bento-card:hover .blog-card-title {
  color: var(--brand-orange);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.blog-author {
  font-weight: 600;
  color: var(--text-muted);
}

.blog-read-link {
  color: var(--brand-orange);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-read-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
}

.blog-read-link i {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.blog-bento-card:hover .blog-read-link i {
  transform: translateX(4px);
}

/* Bento size variants on larger desktop screens */
@media (min-width: 1000px) {
  /* Make first card double column size */
  .blogs-bento-grid .blog-bento-card:nth-child(1) {
    grid-column: span 2;
  }
}

/* Newsletter Section Glass Card */
.premium-newsletter-card {
  position: relative;
  background: linear-gradient(135deg, rgba(21, 26, 46, 0.5) 0%, rgba(21, 26, 46, 0.25) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 60px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
}

.newsletter-glow-orb {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.newsletter-title-text {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
}

.newsletter-desc-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.newsletter-glass-form {
  display: flex;
  background: rgba(10, 13, 20, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 6px;
}

.newsletter-glass-input {
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.newsletter-glass-submit {
  flex-shrink: 0;
  border-radius: 100px !important;
  padding: 12px 28px !important;
}

/* Horizontal scrolling Resources with snapping */
.related-resources-slider-wrap {
  /* overflow-x on the wrapper, not body — this allows scroll to work without clipping */
  overflow-x: auto;
  overflow-y: visible;
  /* Extend slightly beyond container to use full width */
  margin-left: -24px;
  margin-right: -24px;
  scrollbar-width: none;
}

.related-resources-slider-wrap::-webkit-scrollbar {
  display: none;
}

.related-resources-slider {
  display: flex;
  gap: 24px;
  /* min-width forces scroll context; padding gives breathing room at both ends */
  width: max-content;
  padding: 8px 24px 24px 24px;
}

.related-resources-slider::-webkit-scrollbar {
  display: none;
}

.resource-card {
  flex: 0 0 300px;
  width: 300px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.resource-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-md);
}

.resource-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.resource-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.resource-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

.resource-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.resource-link {
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resource-link i {
  width: 14px;
}

/* ==========================================================================
   BLOG DETAILS PAGE
   ========================================================================== */

/* Progress Indicator */
.blog-reading-progress-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 9999;
}

.blog-reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-orange), var(--accent-purple));
}

/* Blog details grids */
.blog-detail-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
}

.toc-card ul li a:hover,
.toc-card ul li a.active {
  color: var(--brand-orange);
}

/* Article content layout typography overrides */
.article-rich-text h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 45px 0 20px 0;
  color: var(--text-main);
}

.article-rich-text p {
  margin-bottom: 24px;
  color: var(--text-muted);
}

.blog-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.blog-stat-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
}

.blog-stat-item h4 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-orange);
  margin-bottom: 4px;
}

.blog-stat-item p {
  margin-bottom: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.blog-pullquote {
  border-left: 4px solid var(--brand-orange);
  padding: 10px 0 10px 30px;
  margin: 40px 0;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  background: linear-gradient(90deg, rgba(255, 87, 34, 0.03) 0%, transparent 100%);
}

.blog-code-block {
  background: #0f131a;
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 35px 0;
  overflow-x: auto;
}

.blog-code-block code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  color: #a5b4fc;
}

/* ==========================================================================
   CASE STUDIES HUB
   ========================================================================== */

/* Metrics section grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.metric-box {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.metric-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-orange) 0%, #ff8a65 100%);
  border-radius: 16px 16px 0 0;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.metric-box:hover {
  transform: translateY(-4px);
  border-color: var(--brand-orange);
  box-shadow: 0 12px 32px rgba(255, 87, 34, 0.12), 0 4px 12px rgba(0,0,0,0.06);
}

.metric-box:hover::before {
  opacity: 1;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--brand-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  line-height: 1.4;
}

/* Cases bento grid */
.cases-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-bento-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.case-card-image {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--brand-orange);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
}

.case-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 13, 20, 0.5) 0%, transparent 60%);
  z-index: 2;
}

.case-card-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.case-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 8px;
}

.case-card-excerpt {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.case-card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.card-stat-item {
  display: flex;
  flex-direction: column;
}

.card-stat-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-orange);
}

.card-stat-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.case-card-link {
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.case-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
}

.case-card-link i {
  width: 16px;
  transition: transform 0.3s;
}

.case-bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.case-bento-card:hover .case-card-image img {
  transform: scale(1.05);
}

.case-bento-card:hover .case-card-link {
  color: var(--brand-orange);
}

.case-bento-card:hover .case-card-link i {
  transform: translate(3px, -3px);
}

/* Testimonials Carousel Slider */
.testimonial-carousel-wrapper {
  margin-top: 50px;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  width: max-content;
}

.premium-testimonial-card {
  width: 450px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-icon {
  color: var(--brand-orange);
  opacity: 0.15;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Sectors served card tilt grid */
.industries-tilt-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.industry-tilt-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: left;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}

.industry-tilt-card:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 12px 30px -10px rgba(255,87,34,0.15);
}

.industry-card-icon {
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.industry-tilt-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.industry-tilt-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ==========================================================================
   INDIVIDUAL CASE STUDY STORYTELLING
   ========================================================================== */

/* Draggable Slider */
.comparison-slider-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.comparison-slider-container {
  position: relative;
  width: 100%;
  height: 280px;
  background: #111424;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
}

.comparison-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.comparison-side-content {
  padding: 40px 60px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.before-side {
  z-index: 10;
  background-color: var(--bg-card);
}

.after-side {
  z-index: 20;
  background-color: var(--bg-secondary);
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand-orange);
  z-index: 30;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--brand-orange);
}

.handle-arrow-left, .handle-arrow-right {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  background: var(--brand-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 35;
}

.handle-arrow-left {
  left: -20px;
  transform: translateY(-50%);
}

.handle-arrow-right {
  right: -20px;
  transform: translateY(-50%);
}

.handle-arrow-left i, .handle-arrow-right i {
  width: 16px;
  height: 16px;
}

/* Scroll timeline roadmap */
.case-timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-svg-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 10px;
  height: 100%;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 5;
}

.timeline-step-node {
  display: flex;
  gap: 30px;
  position: relative;
}

.timeline-step-bullet {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  flex-shrink: 0;
  z-index: 10;
  transition: all 0.3s;
}

.timeline-step-node:hover .timeline-step-bullet {
  border-color: var(--brand-orange);
  background: var(--brand-orange-light);
  color: var(--brand-orange-hover);
  transform: scale(1.05);
}

.timeline-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-grow: 1;
}

/* Immersive layout general adjustments */
.blog-detail-sidebar {
  width: 260px;
}

.social-share-btn:hover {
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: scale(1.05);
}

.comment-item {
  transition: all 0.3s;
}

.comment-item:hover {
  border-color: var(--brand-orange) !important;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
  .industries-tilt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  .blogs-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-blog-card {
    grid-template-columns: 1fr;
  }
  
  .featured-blog-image {
    min-height: 250px;
  }
  
  .blog-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-detail-sidebar {
    display: none !important;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cases-bento-grid {
    grid-template-columns: 1fr;
  }
  
  .case-bento-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .premium-page-hero {
    padding-top: 140px;
    min-height: 50vh;
  }
  
  .blogs-bento-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .newsletter-glass-form {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .resource-card {
    flex: 0 0 280px;
    padding: 24px;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .industries-tilt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-slider-container {
    height: 400px;
  }
  
  .comparison-side-content {
    padding: 30px;
  }
  
  .timeline-svg-line {
    left: 20px;
  }
  
  .timeline-step-bullet {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  
  .timeline-step-node {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .industries-tilt-grid {
    grid-template-columns: 1fr;
  }
  
  .category-chips {
    border-radius: 12px;
    padding: 10px;
  }
  
  .filter-chip {
    padding: 6px 14px;
  }
}




/* ============================================================
   UTILITY & MISSING COMPONENT STYLES
   ============================================================ */

/* Hide on mobile utility */
.hide-mobile {
  display: block;
}
@media (max-width: 900px) {
  .hide-mobile { display: none !important; }
}

/* Fullscreen CTA Premium Section */
.fullscreen-cta-premium {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.glowing-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.fullscreen-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.fullscreen-cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.fullscreen-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Nav actions layout */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   BLOGS PREMIUM LAYOUT STYLES
   ============================================================ */

.blogs-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.blogs-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.bh-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--brand-orange);
  top: -100px;
  right: 5%;
}

.bh-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-purple);
  bottom: -50px;
  left: 10%;
}

.bh-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,87,34,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,87,34,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.blogs-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .blogs-hero-inner { grid-template-columns: 1fr; }
  .blogs-hero-right { display: none; }
}

.blogs-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brand-orange);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.bhl-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-orange);
  border-radius: 50%;
  animation: pulseBadge 2s ease-in-out infinite;
}

.blogs-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--text-main);
  margin-bottom: 20px;
}

.blogs-hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand-orange), #ff8a65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bht-gradient {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blogs-hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
}

.blogs-hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 10px 20px;
  max-width: 520px;
  margin-bottom: 20px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.blogs-hero-search:focus-within {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255,87,34,0.1);
}

.bhs-icon {
  width: 18px;
  height: 18px;
  color: var(--text-light);
  flex-shrink: 0;
}

.bhs-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
}

.bhs-clear {
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.bhs-clear:hover { color: var(--brand-orange); }

.blogs-hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bh-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 5px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}

.bh-tag:hover {
  color: var(--brand-orange);
  border-color: var(--brand-orange);
  background: var(--brand-orange-light);
}

.blogs-stat-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.bss-item { display: flex; flex-direction: column; gap: 4px; }
.bss-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--text-main); }
.bss-lbl { font-size: 0.8rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.bss-divider { height: 1px; background: var(--border-color); }

.blogs-latest-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.82rem;
}

.blp-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseGreen 2s ease-in-out infinite;
}

.blp-label { font-weight: 700; color: var(--text-light); }
.blp-text { color: var(--text-main); font-weight: 600; }

/* Blogs Category Rail */
.blogs-cat-rail-wrap {
  position: sticky;
  top: var(--header-height);
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  overflow-x: auto;
}

.blogs-cat-rail {
  display: flex;
  gap: 8px;
  padding: 0 24px;
  width: max-content;
  min-width: 100%;
}

@media (min-width: 1200px) {
  .blogs-cat-rail {
    justify-content: center;
  }
}

.bcr-chip {
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s;
}

.bcr-chip:hover { color: var(--text-main); border-color: var(--text-light); }
.bcr-chip.active {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-orange);
}

/* Blogs Masonry Grid */
.blogs-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .blogs-masonry { grid-template-columns: repeat(2, 1fr); }
}

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

.bm-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  cursor: pointer;
}

.bm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-orange);
}

.bm-card--wide {
  grid-column: span 2;
  flex-direction: row;  /* horizontal layout for wide card */
}

.bm-card--wide .bm-img {
  width: 45%;
  height: auto;
  flex-shrink: 0;
}

.bm-card--wide .bm-body {
  flex: 1;
}

.bm-card--tall .bm-img { height: 200px; }

@media (max-width: 1024px) {
  .bm-card--wide { grid-column: span 1; flex-direction: column; }
  .bm-card--wide .bm-img { width: 100%; height: 160px; }
}

.bm-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.bm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bm-card:hover .bm-img img { transform: scale(1.05); }

.bm-img-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
  z-index: 1;
}

.bm-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-card);
  color: var(--brand-orange);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
}

.bm-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: var(--brand-orange);
  padding: 4px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bm-featured-badge i { width: 12px; height: 12px; }

.bm-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }

.bm-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.bm-meta span { display: flex; align-items: center; gap: 4px; }
.bm-meta i { width: 12px; height: 12px; }
.bm-dot { width: 3px; height: 3px; background: var(--border-color); border-radius: 50%; }

.bm-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.bm-card:hover .bm-title { color: var(--brand-orange); }

.bm-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.bm-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-orange);
  text-decoration: none;
  transition: gap 0.2s;
}

.bm-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
}

.bm-cta i { width: 14px; height: 14px; transition: transform 0.2s; }
.bm-card:hover .bm-cta i { transform: translateX(4px); }

/* Newsletter strip */
.blogs-newsletter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  flex-wrap: wrap;
}

.bns-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bns-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bns-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--text-main); }
.bns-sub { font-size: 0.85rem; color: var(--text-muted); }

.bns-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 280px;
}

.bns-input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-main);
}

.bns-input:focus { border-color: var(--brand-orange); outline: none; }

.blogs-section-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ABOUT US PAGE CUSTOM STYLES
   ========================================================================== */

/* 1. Metrics Section */
.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .about-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.about-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.about-metric-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-lg);
}

.about-metric-num-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.about-metric-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-orange);
}

.about-metric-suffix {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-orange);
}

.about-metric-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-top: 16px;
  margin-bottom: 6px;
}

.about-metric-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 2. Interactive Journey Timeline */
.about-timeline {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  top: 0;
  bottom: 0;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 48px;
  display: flex;
  opacity: 0;
  transform: translateY(30px);
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-content {
  width: 45%;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
  transform: translateY(-4px);
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-lg);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 36px;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--bg-primary);
  border: 3px solid var(--brand-orange);
  border-radius: 50%;
  z-index: 2;
  transition: transform 0.3s, background-color 0.3s;
}

.timeline-item:hover .timeline-dot {
  transform: translate(-50%, -50%) scale(1.25);
  background: var(--brand-orange);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-orange);
  background: rgba(255, 87, 34, 0.08);
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 12px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    justify-content: flex-end;
  }
  .timeline-content {
    width: calc(100% - 50px);
  }
  .timeline-dot {
    left: 20px;
  }
}

/* 3. Core Values Section */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 87, 34, 0.08);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-icon i {
  width: 24px;
  height: 24px;
}

.value-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.value-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 4. Team Profile Cards */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.about-team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.about-team-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-lg);
}

.team-avatar-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.team-avatar-gradient {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF5A1F 0%, #7C6CFF 100%);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.2);
  transition: transform 0.4s ease;
}

.team-avatar-gradient.alt-grad {
  background: linear-gradient(135deg, #7C6CFF 0%, #06B6D4 100%);
  box-shadow: 0 8px 24px rgba(124, 108, 255, 0.2);
}

.team-avatar-gradient.alt-grad-2 {
  background: linear-gradient(135deg, #06B6D4 0%, #FF5A1F 100%);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.2);
}

.about-team-card:hover .team-avatar-gradient {
  transform: scale(1.08) rotate(5deg);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 24px;
}

.team-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.team-social a {
  color: var(--text-light);
  transition: color 0.2s, transform 0.2s;
}

.team-social a:hover {
  color: var(--brand-orange);
  transform: translateY(-2px);
}

.team-social i {
  width: 18px;
  height: 18px;
}

/* 5. About Hero Grid & Visual Panel */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
  .about-hero-actions {
    justify-content: center;
  }
}

.about-hero-text {
  position: relative;
  z-index: 2;
}

.about-hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glassmorphism Configuration Panel */
.about-visual-panel {
  width: 100%;
  max-width: 340px;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.panel-header {
  background: rgba(15, 23, 42, 0.6);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-dots {
  display: flex;
  gap: 6px;
}

.panel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.panel-dots span:nth-child(1) { background: #FF5A1F; }
.panel-dots span:nth-child(2) { background: #EAB308; }
.panel-dots span:nth-child(3) { background: #22C55E; }

.panel-title {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.8;
}

.panel-body {
  padding: 20px;
  text-align: left;
}

.panel-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.panel-label {
  font-family: monospace;
  color: var(--text-light);
  opacity: 0.6;
}

.panel-value {
  font-weight: 700;
  color: var(--text-main);
}

.panel-value.highlight-cyan { color: #06B6D4; text-shadow: 0 0 10px rgba(6, 182, 212, 0.3); }
.panel-value.highlight-orange { color: #FF5A1F; text-shadow: 0 0 10px rgba(255, 90, 31, 0.3); }

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  max-width: 70%;
}

.panel-tags span {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-visual-canvas {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-flow-svg {
  width: 100%;
  height: auto;
}

.dash-flow {
  stroke-dasharray: 6;
  animation: flow 1.5s linear infinite;
}

@keyframes flow {
  to {
    stroke-dashoffset: -12;
  }
}

/* Secondary Floating Card Badge */
.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: 0px;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 3;
  animation: floatCard 6s ease-in-out infinite;
}

@media (max-width: 1024px) {
  .about-floating-card {
    right: 15%;
  }
}

@media (max-width: 640px) {
  .about-floating-card {
    right: 5%;
    bottom: -30px;
  }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.afc-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 90, 31, 0.1);
  color: #FF5A1F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.afc-icon i {
  width: 18px;
  height: 18px;
}

.afc-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.afc-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 6. Contact Split Grid & Form Card */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 1024px) {
  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
}

.contact-info-col {
  text-align: left;
}

@media (max-width: 1024px) {
  .contact-info-col {
    text-align: center;
  }
  .contact-info-col .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .contact-info-col .hero-title-premium {
    margin-left: auto;
    margin-right: auto;
  }
  .contact-info-col .hero-desc-premium {
    margin-left: auto;
    margin-right: auto;
  }
}

.contact-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}

.cbi-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 90, 31, 0.08);
  color: #FF5A1F;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 90, 31, 0.1);
}

.cbi-icon i {
  width: 20px;
  height: 20px;
}

.cbi-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cbi-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Contact Details Box */
.contact-details-box {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 40px;
  text-align: left;
}

.cdb-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.cdb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cdb-list span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cdb-list i {
  color: #FF5A1F;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Contact Form Card */
.contact-form-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
  .contact-form-card {
    padding: 24px;
  }
}

.cfc-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  text-align: left;
}

.cfc-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cfc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .cfc-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   THEME SELECTION PROMPT MODAL STYLES
   ========================================================================== */

/* Theme Toggle Popover */
.theme-popover-wrap {
  position: relative;
  display: inline-block;
}

.theme-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 190px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-popover.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.theme-popover-header {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.theme-popover-welcome {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
  display: none;
  text-align: left;
}

.theme-popover.first-time .theme-popover-welcome {
  display: block;
}

.theme-popover-opt {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.theme-popover-opt:hover {
  background: rgba(255, 90, 31, 0.04);
  color: #FF5A1F;
}

.theme-popover-opt.active {
  background: rgba(255, 90, 31, 0.08);
  color: #FF5A1F;
  border-color: rgba(255, 90, 31, 0.2);
}

.theme-popover-opt i {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.theme-popover-opt:hover i {
  transform: rotate(15deg);
}

/* Subtle Popover arrow */
.theme-popover::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 15px;
  width: 10px;
  height: 10px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  transform: rotate(45deg);
}

/* ==========================================================================
   PREMIUM THEME TOGGLE ONBOARDING TUTORIAL
   ========================================================================== */

/* --- Dim Overlay --- */
.theme-tutorial-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(8, 12, 22, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.theme-tutorial-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Elevated toggle wrap above overlay --- */
.theme-popover-wrap.tutorial-active {
  z-index: 9100;
  position: relative;
}

.theme-popover-wrap.tutorial-active #theme-toggle-btn {
  animation: tutorialZoom 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.25), 0 8px 24px rgba(255, 107, 53, 0.2);
}

/* --- Pulse Ring --- */
.theme-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 53, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

.theme-popover-wrap.tutorial-active .theme-pulse-ring {
  animation: tutorialPulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* --- Keyframes --- */
@keyframes tutorialPulse {
  0%   { opacity: 0.9; transform: scale(0.88); }
  60%  { opacity: 0;   transform: scale(1.65); }
  100% { opacity: 0;   transform: scale(1.65); }
}

@keyframes tutorialZoom {
  0%, 100% { transform: scale(1);    }
  40%       { transform: scale(1.12); }
  65%       { transform: scale(1.06); }
}

/* --- Tooltip Card --- */
.theme-tutorial-tooltip {
  position: absolute;
  top: calc(100% + 20px);
  right: -12px;
  z-index: 9200;
  width: 270px;
  background: #111827;
  border: 1.5px solid var(--brand-orange);
  border-radius: 12px;
  padding: 18px 18px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.theme-tutorial-tooltip.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Tooltip caret / arrow */
.ttt-arrow {
  position: absolute;
  top: -7px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: #111827;
  border-left: 1.5px solid var(--brand-orange);
  border-top:  1.5px solid var(--brand-orange);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}

.ttt-icon {
  font-size: 1.4rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255, 180, 80, 0.5));
}

.ttt-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ttt-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.ttt-desc {
  font-size: 0.82rem;
  color: rgba(210, 220, 235, 0.9);
  line-height: 1.55;
}

.ttt-desc strong {
  color: #ff6b35;
  font-weight: 700;
}

.ttt-dismiss {
  align-self: flex-start;
  background: linear-gradient(135deg, #ff6b35 0%, #e8521c 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(255, 107, 53, 0.35);
}

.ttt-dismiss:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.45);
}

.ttt-dismiss:active {
  transform: translateY(0);
}

/* ==========================================================================
   INTERACTIVE MARKETING WIDGETS STYLES
   ========================================================================== */

/* WIDGET 1: SEO SIMULATOR */
.seo-sim-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.serp-address-bar {
  background-color: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 24px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Arial, sans-serif;
  color: #202124;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(32,33,36,0.1);
}
.dark-theme .serp-address-bar {
  background-color: #303134;
  border-color: #3c4043;
  color: #e8eaed;
}
.serp-search-text {
  font-size: 0.88rem;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.serp-results-wall {
  background-color: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: Roboto, Arial, sans-serif;
  box-shadow: var(--shadow-sm);
}
.dark-theme .serp-results-wall {
  background-color: #202124;
  border-color: #3c4043;
}
.serp-item {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.serp-url-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #202124;
}
.dark-theme .serp-url-row {
  color: #bdc1c6;
}
.serp-title {
  color: #1a0dab;
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
}
.serp-title:hover {
  text-decoration: underline;
}
.dark-theme .serp-title {
  color: #8ab4f8;
}
.serp-snippet {
  color: #4d5156;
  font-size: 0.85rem;
  line-height: 1.4;
}
.dark-theme .serp-snippet {
  color: #bdc1c6;
}
.serp-ghost-card {
  border: 2px dashed #ff5722;
  background-color: rgba(255, 87, 34, 0.02);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  color: #ff5722;
  font-family: var(--font-heading);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}
.dark-theme .serp-ghost-card {
  background-color: rgba(255, 87, 34, 0.05);
}
.serp-ghost-title {
  font-weight: 700;
  font-size: 1rem;
}
.serp-ghost-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.dark-theme .serp-ghost-desc {
  color: #94a3b8;
}
.seo-stat-highlight {
  background: linear-gradient(135deg, rgba(255,87,34,0.08) 0%, rgba(99,102,241,0.08) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.seo-stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1.1;
  margin-bottom: 6px;
}
.seo-stat-desc {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}
.seo-chain-note {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-purple);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.seo-chain-note:hover {
  text-decoration: underline;
}

/* WIDGET 2: HOOK ANALYZER */
.analyzer-meter-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.analyzer-svg {
  width: 140px;
  height: 140px;
}
.analyzer-svg-circle-bg {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 10;
}
.analyzer-svg-circle-fill {
  fill: none;
  stroke: #ef4444;
  stroke-width: 10;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1s ease-out, stroke 0.4s;
}
.analyzer-score-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  fill: var(--text-main);
}
.analyzer-score-label {
  font-size: 0.65rem;
  font-weight: 700;
  fill: var(--text-light);
  text-transform: uppercase;
}
.sub-scores-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.sub-score-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.sub-score-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}
.sub-score-bar-bg {
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}
.sub-score-bar-fill {
  height: 100%;
  border-radius: 4px;
  background-color: #ef4444;
  width: 0%;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s;
}
.rewrite-tip-box {
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--brand-orange);
  padding: 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.rewrite-tip-title {
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

/* WIDGET 3: HOMEPAGE BUILDER */
.wizard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wizard-steps-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 10px;
}
.wizard-indicator-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
  transform: translateY(-50%);
}
.wizard-indicator-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background-color: var(--brand-orange);
  z-index: 2;
  transform: translateY(-50%);
  transition: width 0.3s ease;
  width: 0%;
}
.wizard-ind-node {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  z-index: 3;
  color: var(--text-light);
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.wizard-ind-node.active {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  box-shadow: 0 0 10px rgba(255, 87, 34, 0.2);
}
.wizard-ind-node.completed {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}
.industry-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.industry-option-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  background-color: var(--bg-card);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.industry-option-card:hover {
  border-color: var(--brand-orange);
  background-color: var(--bg-secondary);
}
.industry-option-card.selected {
  border-color: var(--brand-orange);
  background-color: var(--brand-orange-light);
  color: var(--brand-orange-hover);
}
.dark-theme .industry-option-card.selected {
  background-color: rgba(255, 87, 34, 0.1);
  color: #fff;
}
.industry-option-card i {
  width: 24px;
  height: 24px;
  color: var(--text-light);
}
.industry-option-card.selected i {
  color: var(--brand-orange);
}
.industry-option-card span {
  font-size: 0.75rem;
  font-weight: 700;
}
.color-swatches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.swatch-item {
  height: 48px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.swatch-item:hover {
  transform: scale(1.05);
}
.swatch-item.selected {
  border-color: var(--text-main);
}
.dark-theme .swatch-item.selected {
  border-color: #fff;
}
.swatch-navy { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); }
.swatch-emerald { background: linear-gradient(135deg, #064e3b 0%, #10b981 100%); }
.swatch-maroon { background: linear-gradient(135deg, #581c87 0%, #be123c 100%); }
.swatch-orange { background: linear-gradient(135deg, #7c2d12 0%, #ff5722 100%); }

/* CSS Device Mockups */
.devices-side-show {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}
.laptop-frame {
  width: 460px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.laptop-bezel {
  width: 100%;
  aspect-ratio: 460 / 300;
  background-color: #1f2937;
  border: 8px solid #111827;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.laptop-screen-content {
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  overflow-y: scroll;
  scrollbar-width: none; /* Hide scrollbar for clean visual */
}
.laptop-screen-content::-webkit-scrollbar {
  display: none;
}
.laptop-base-stand {
  width: 116%;
  height: 10px;
  background-color: #4b5563;
  border-radius: 0 0 8px 8px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.laptop-base-notch {
  width: 50px;
  height: 4px;
  background-color: #111827;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 4px 4px;
}
.phone-frame {
  width: 150px;
  height: 300px;
  background-color: #111827;
  border: 5px solid #1f2937;
  border-radius: 18px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-screen-content {
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  overflow-y: scroll;
  scrollbar-width: none;
}
.phone-screen-content::-webkit-scrollbar {
  display: none;
}
.phone-notch {
  width: 40px;
  height: 8px;
  background-color: #111827;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  z-index: 10;
}

/* Simulated Web Page Inner Styling */
.sim-web-header {
  height: 18px;
  border-bottom: 1px solid var(--border-color);
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-secondary);
}
.sim-web-logo {
  font-size: 0.45rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}
.sim-web-menu {
  display: flex;
  gap: 3px;
}
.sim-web-menu span {
  width: 3px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 50%;
}
.sim-web-hero {
  padding: 16px 8px;
  text-align: center;
  background: radial-gradient(circle at top, var(--preview-accent-alpha) 0%, transparent 80%);
}
.sim-web-hero-title {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 4px;
}
.sim-web-hero-desc {
  font-size: 0.35rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 6px;
}
.sim-web-btn {
  display: inline-block;
  background-color: var(--preview-accent);
  color: #fff;
  font-size: 0.35rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  transition: filter 0.2s;
}
.sim-web-services {
  padding: 12px 8px;
  border-top: 1px dashed var(--border-color);
}
.sim-web-section-title {
  font-size: 0.45rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-align: center;
  font-family: var(--font-heading);
}
.sim-web-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.sim-web-service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 4px;
  text-align: center;
}
.sim-web-service-card i {
  color: var(--preview-accent);
  margin-bottom: 2px;
}
.sim-web-service-card h5 {
  font-size: 0.3rem;
  font-weight: 700;
  margin-bottom: 1px;
}
.sim-web-service-card p {
  font-size: 0.22rem;
  color: var(--text-muted);
  line-height: 1.2;
}
.sim-web-testimonial {
  padding: 12px 8px;
  background-color: var(--bg-secondary);
  text-align: center;
  font-style: italic;
  font-size: 0.32rem;
  line-height: 1.35;
  color: var(--text-muted);
}
.sim-web-footer {
  padding: 8px;
  border-top: 1px solid var(--border-color);
  font-size: 0.25rem;
  color: var(--text-light);
  text-align: center;
}
.live-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  width: 100%;
}
.live-swatch-toggle {
  display: flex;
  gap: 4px;
}
.live-swatch-bubble {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.15s;
}
.live-swatch-bubble:hover {
  transform: scale(1.2);
}

/* WIDGET 4: LEAKY FUNNEL */
.funnel-sliders-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.funnel-visual-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.funnel-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.funnel-svg-graphic {
  width: 100%;
  height: 100%;
}
.funnel-leak-particle {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #ff5722;
  position: absolute;
  z-index: 10;
  box-shadow: 0 0 6px #ff5722;
  pointer-events: none;
}
.leak-funnel-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.funnel-segmented-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 600px) {
  .funnel-segmented-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}
.segmented-btn {
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 10px 6px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-muted);
}
.segmented-btn:hover {
  background-color: var(--bg-secondary);
}
.segmented-btn.active {
  border-color: var(--brand-orange);
  background-color: var(--brand-orange-light);
  color: var(--brand-orange-hover);
}
.dark-theme .segmented-btn.active {
  background-color: rgba(255, 87, 34, 0.1);
  color: #fff;
}
.leaky-total-loss-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(255, 87, 34, 0.08) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  width: 100%;
}
.leaky-loss-counter {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #ef4444;
  line-height: 1.1;
  margin-bottom: 6px;
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}
.leaky-loss-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* WIDGET 5: LOGO QUIZ */
.quiz-main-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.quiz-header-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
.quiz-brand-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  padding: 20px 10px;
  letter-spacing: -0.02em;
  color: var(--text-main);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  /* Logo image layout */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

/* Logo images — invert in dark mode so dark logos show on dark bg */
.quiz-brand-title img {
  max-height: 110px;
  max-width: 80%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-brand-title img:hover {
  transform: scale(1.06);
}

/* Dark theme: invert dark-on-transparent logos (Google, Nike, Twitter, Accenture) */
.dark-theme .quiz-brand-title img {
  filter: brightness(0) invert(1);
}

/* Exceptions — coloured logos look fine as-is, so restore them */
.dark-theme .quiz-brand-title img[alt="COCA-COLA logo"],
.dark-theme .quiz-brand-title img[alt="PEPSI logo"],
.dark-theme .quiz-brand-title img[alt="BP logo"] {
  filter: none;
}
.quiz-options-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.quiz-option-item {
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.quiz-option-item:hover:not(.locked) {
  border-color: var(--brand-orange);
  background-color: var(--bg-secondary);
}
.quiz-option-item.correct {
  border-color: #10b981;
  background-color: rgba(16, 185, 129, 0.08);
  color: #10b981;
}
.quiz-option-item.incorrect {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}
.quiz-fact-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: left;
  border-left: 4px solid var(--brand-orange);
  animation: slideInDown 0.3s ease-out;
}
.quiz-final-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  width: 100%;
}
.quiz-score-badge {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
}
.quiz-share-row {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}
.btn-whatsapp-share {
  background-color: #25d366;
  color: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  flex-grow: 1;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: background-color 0.2s;
}
.btn-whatsapp-share:hover {
  background-color: #128c7e;
}

/* WIDGET 6: GRAPHIC DESIGN GAME */
.reveal-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 40px;
}
.reveal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.reveal-card-body {
  padding: 16px;
  text-align: left;
}
.reveal-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.reveal-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}
/* Micro visual content inside comparison sliders */
.design-mock-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  position: relative;
}
.design-banner-before {
  background-color: #ffcccc;
  border: 2px dashed red;
  color: #000;
  font-family: 'Comic Sans MS', sans-serif;
  text-align: center;
}
.design-banner-after {
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
  border-radius: 8px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}
.ctr-options-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}
.ctr-option-card {
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--bg-card);
  transition: all var(--transition-fast);
  text-align: center;
}
.ctr-option-card:hover:not(.locked) {
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}
.ctr-option-card.winner {
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}
.ctr-option-card.loser {
  border-color: #ef4444;
  opacity: 0.7;
}
.ctr-card-banner {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ctr-card-label {
  padding: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}
.ctr-card-stat-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
  color: #fff;
}
.ctr-option-card.revealed .ctr-card-stat-overlay {
  opacity: 1;
}
.ctr-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.ctr-stat-num.win { color: #10b981; }
.ctr-stat-num.lose { color: #ef4444; }

/* WIDGET 7: TALK TO ASHA */
.chat-widget-frame {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 380px;
  box-shadow: var(--shadow-md);
  width: 100%;
}
.chat-widget-header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.chat-avatar-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5722 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  position: relative;
}
.chat-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  border: 2px solid var(--bg-secondary);
  position: absolute;
  bottom: 0;
  right: 0;
}
.chat-header-info {
  flex-grow: 1;
}
.chat-header-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.2;
}
.chat-header-status {
  font-size: 0.72rem;
  color: var(--text-light);
}
.chat-scroll-area {
  flex-grow: 1;
  padding: 16px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-scroll-area::-webkit-scrollbar {
  width: 6px;
}
.chat-scroll-area::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 3px;
}
.chat-bubble-row {
  display: flex;
  gap: 8px;
  width: 100%;
}
.chat-bubble-row.user {
  justify-content: flex-end;
}
.chat-bubble-msg {
  padding: 10px 14px;
  border-radius: 0 12px 12px 12px;
  max-width: 80%;
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: left;
}
.chat-bubble-msg.asha {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}
.chat-bubble-msg.user {
  background-color: var(--brand-orange);
  color: #fff;
  border-radius: 12px 0 12px 12px;
}
.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 12px;
  padding: 2px 4px;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  background-color: var(--text-light);
  border-radius: 50%;
  display: inline-block;
  animation: bounceDot 1.4s infinite ease-in-out both;
}
.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounceDot {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

.chat-input-area {
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  background-color: var(--bg-secondary);
  text-align: center;
}
.chat-chips-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.chat-query-chip {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-main);
}
.chat-query-chip:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  background-color: var(--brand-orange-light);
}
.dark-theme .chat-query-chip:hover {
  background-color: rgba(255,87,34,0.1);
  color: #fff;
}
.chat-textbox-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}
#asha-text-input {
  flex-grow: 1;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  transition: all var(--transition-fast);
}
#asha-text-input:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.15);
}
#asha-send-btn {
  background-color: var(--brand-orange);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
#asha-send-btn:hover {
  background-color: var(--brand-orange-hover);
  transform: translateY(-1px);
}
#asha-send-btn svg {
  width: 16px;
  height: 16px;
}
.chat-disclaimer {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* Chat inner components */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}
.booking-slot-node {
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 6px 4px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.booking-slot-node:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}
.booking-slot-node.selected {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}





/* ==========================================================================
   HOME PAGE — SCROLL & TEXT ANIMATIONS
   ========================================================================== */

/* ── Fade-up base state (set by JS before animating) ──────────────────── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: none; /* GSAP handles transitions */
}

/* ── Split-word wrapper ──────────────────────────────────────────────────
   Each word inside .anim-split gets its own <span class="word-span">
   wrapping a <span class="word-inner"> so overflow:hidden clips the slide */
.anim-split .word-span {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.25em;
}

.anim-split .word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

/* ── Slide-in from left / right ──────────────────────────────────────── */
.anim-slide-left  { opacity: 0; transform: translateX(-48px); }
.anim-slide-right { opacity: 0; transform: translateX( 48px); }

/* ── Scale-in ────────────────────────────────────────────────────────── */
.anim-scale-in { opacity: 0; transform: scale(0.88); }

/* ── Stat counter number — gradient shimmer while counting ───────────── */
.stat-box h3 {
  background: linear-gradient(
    90deg,
    var(--brand-orange) 0%,
    #ff8a65 40%,
    var(--brand-orange) 80%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerStat 2.4s linear infinite;
}

/* Override for non-orange stat numbers */
.stat-box:nth-child(2) h3,
.stat-box:nth-child(4) h3 {
  background: linear-gradient(
    90deg,
    var(--text-main) 0%,
    var(--text-muted) 40%,
    var(--text-main) 80%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerStatGrey 2.8s linear infinite;
}

@keyframes shimmerStat {
  0%   { background-position: 200% center; }
  100% { background-position: 0%   center; }
}
@keyframes shimmerStatGrey {
  0%   { background-position: 200% center; }
  100% { background-position: 0%   center; }
}

/* ── Section tag label pop-in ────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px) scale(0.92);
}

/* ── Pillar card hover lift (home "4 Pillars" grid) ─────────────────── */
.section [style*="border-radius: var(--radius-lg)"][style*="padding: 32px"] {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.25s;
}
.section [style*="border-radius: var(--radius-lg)"][style*="padding: 32px"]:hover {
  transform: translateY(-6px);
  border-color: var(--brand-orange) !important;
  box-shadow: var(--shadow-lg);
}

/* ── Number ticker highlight flash on complete ───────────────────────── */
@keyframes tickerPop {
  0%   { transform: scale(1);    }
  40%  { transform: scale(1.12); }
  70%  { transform: scale(0.97); }
  100% { transform: scale(1);    }
}

.stat-counting h3 {
  animation: shimmerStat 1.8s linear infinite,
             tickerPop 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* ── Industry card stagger entrance base ────────────────────────────── */
.home-industry-card {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
}

/* ── ROI Calculator slide reveal ─────────────────────────────────────── */
.calc-card {
  opacity: 0;
  transform: translateY(50px);
}

/* ── Marquee section entrance ───────────────────────────────────────── */
.marquee-section {
  opacity: 0;
  transform: translateY(24px);
}

/* ── "How We Scale" numbered step accent ────────────────────────────── */
.pillar-num-accent {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-orange);
  margin-bottom: 12px;
  display: block;
}

/* Premium Simulated Mockups Styles */
.sim-web-container {
  width: 100%;
  min-height: 100%;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-primary);
  font-size: 0.54rem;
  /* Natural block stacking, no height compression */
}

/* Common simulation header and navs */
.sim-web-menu-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.38rem;
  font-weight: 700;
  color: var(--text-muted);
}
.sim-web-menu-nav span {
  cursor: pointer;
  transition: color 0.2s;
}
.sim-web-menu-nav span.active {
  font-weight: 800;
}

/* LAYOUT 0: MODERN GLASSMORPHISM */
.layout-modern .sim-web-header {
  height: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(5px);
}
.layout-modern .sim-web-logo {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.52rem;
  font-weight: 800;
}
.layout-modern .logo-icon-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.layout-modern .sim-web-hero-section {
  padding: 20px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, var(--preview-accent-alpha) 0%, transparent 75%);
}
.layout-modern .hero-glow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 40px;
  background: var(--preview-accent);
  opacity: 0.15;
  filter: blur(20px);
  pointer-events: none;
}
.layout-modern .sim-web-badge {
  display: inline-block;
  font-size: 0.3rem;
  font-weight: 800;
  color: var(--preview-accent);
  background: var(--preview-accent-alpha);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5px 4px;
  border-radius: 20px;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.layout-modern .sim-web-hero-title {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
}
.layout-modern .sim-web-hero-desc {
  font-size: 0.38rem;
  line-height: 1.35;
  margin-bottom: 10px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.layout-modern .sim-web-btn-container {
  display: flex;
  justify-content: center;
}
.layout-modern .premium-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--preview-accent) 0%, rgba(59, 130, 246, 0.8) 100%);
  color: #fff !important;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 0.36rem;
  box-shadow: 0 4px 10px var(--preview-accent-alpha);
}
.layout-modern .sim-web-services-section {
  padding: 10px 12px;
}
.layout-modern .sim-web-section-title {
  font-size: 0.44rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.layout-modern .sim-web-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.layout-modern .card-glass {
  border-radius: 8px;
  padding: 6px;
  text-align: center;
  transition: transform 0.2s;
}
.layout-modern .card-glass .icon-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
}
.layout-modern .card-glass h5 {
  font-size: 0.38rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.layout-modern .card-glass p {
  font-size: 0.28rem;
  line-height: 1.25;
}
.layout-modern .sim-web-testimonial-section {
  padding: 8px 12px;
}
.layout-modern .testimonial-bubble {
  border-left: 2.5px solid var(--preview-accent);
  padding: 4px 8px;
  text-align: left;
}
.layout-modern .quote-text {
  font-size: 0.36rem;
  font-style: italic;
  line-height: 1.3;
  margin: 0;
}
.layout-modern .quote-author {
  font-size: 0.3rem;
  font-weight: 700;
  margin-top: 2px;
}
.layout-modern .sim-web-footer {
  padding: 8px;
  font-size: 0.28rem;
  text-align: center;
}

/* ── Industry-Specific Hero Backgrounds ─────────────────────────── */
@keyframes heroEmojiFloat {
  0%   { transform: translateY(0px) scale(1);   opacity: 0.18; }
  50%  { transform: translateY(-6px) scale(1.1); opacity: 0.28; }
  100% { transform: translateY(0px) scale(1);   opacity: 0.18; }
}

.hero-float-emoji {
  position: absolute;
  font-size: 0.9rem;
  pointer-events: none;
  user-select: none;
  animation: heroEmojiFloat 3.5s ease-in-out infinite;
  z-index: 1;
  filter: blur(0.2px);
}

.industry-hero {
  transition: background 0.5s ease;
}


.sim-web-container {
  background-color: #f8fafc;
  color: #0f172a;
}
.layout-modern .sim-web-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.layout-modern .sim-web-logo {
  color: #0f172a;
}
.layout-modern .sim-web-menu-nav {
  color: #475569;
}
.layout-modern .sim-web-hero-title {
  color: #0f172a;
}
.layout-modern .sim-web-hero-desc {
  color: #475569;
}
.layout-modern .sim-web-section-title {
  color: #64748b;
}
.layout-modern .card-glass {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}
.layout-modern .card-glass h5 {
  color: #0f172a;
}
.layout-modern .card-glass p {
  color: #475569;
}
.layout-modern .testimonial-bubble {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 2.5px solid var(--preview-accent);
}
.layout-modern .quote-text {
  color: #475569;
}
.layout-modern .quote-author {
  color: var(--preview-accent);
}
.layout-modern .sim-web-footer {
  color: #94a3b8;
  border-top: 1px solid #e2e8f0;
}

/* LAYOUT 0: DARK THEME OVERRIDES */
.dark-theme .sim-web-container {
  background-color: #090d16;
  color: #f8fafc;
}
.dark-theme .layout-modern .sim-web-header {
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dark-theme .layout-modern .sim-web-logo {
  color: #f8fafc;
}
.dark-theme .layout-modern .sim-web-menu-nav {
  color: #cbd5e1;
}
.dark-theme .layout-modern .sim-web-hero-title {
  color: #f8fafc;
}
.dark-theme .layout-modern .sim-web-hero-desc {
  color: #cbd5e1;
}
.dark-theme .layout-modern .sim-web-section-title {
  color: #cbd5e1;
}
.dark-theme .layout-modern .card-glass {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.dark-theme .layout-modern .card-glass h5 {
  color: #f8fafc;
}
.dark-theme .layout-modern .card-glass p {
  color: #cbd5e1;
}
.dark-theme .layout-modern .testimonial-bubble {
  background: rgba(255, 255, 255, 0.01);
  border: none;
  border-left: 2.5px solid var(--preview-accent);
}
.dark-theme .layout-modern .quote-text {
  color: #cbd5e1;
}
.dark-theme .layout-modern .quote-author {
  color: var(--preview-accent);
}
.dark-theme .layout-modern .sim-web-footer {
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* LAYOUT 1: SPLIT CREATIVE / LIST STYLE */
.layout-split .sim-web-header {
  height: 24px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.layout-split .sim-web-logo {
  font-size: 0.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
}
.layout-split .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.3rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
}
.layout-split .status-dot {
  width: 3px;
  height: 3px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}
.layout-split .sim-web-hero-section {
  padding: 20px 10px;
}
.layout-split .sim-web-hero-title {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
}
.layout-split .sim-web-hero-desc {
  font-size: 0.38rem;
  line-height: 1.35;
  margin-bottom: 8px;
}
.layout-split .bold-btn {
  font-weight: 800;
  font-size: 0.34rem;
  padding: 4px 10px;
  border-radius: 0px;
  color: #fff !important;
  text-transform: uppercase;
}
.layout-split .sim-web-services-section {
  padding: 10px 12px;
}
.layout-split .section-subtitle-tag {
  display: inline-block;
  font-size: 0.26rem;
  font-weight: 800;
  color: #fff;
  padding: 0.5px 4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.layout-split .sim-web-services-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.layout-split .sim-web-service-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 0 4px 4px 0;
}
.layout-split .row-num {
  font-size: 0.42rem;
  font-weight: 800;
  width: 15px;
}
.layout-split .row-content {
  flex: 1;
  text-align: left;
}
.layout-split .row-content h5 {
  font-size: 0.38rem;
  font-weight: 700;
  margin: 0;
}
.layout-split .row-content p {
  font-size: 0.28rem;
  margin: 0;
}
.layout-split .row-arrow {
  flex-shrink: 0;
}
.layout-split .sim-web-testimonial-section {
  padding: 10px 12px;
}
.layout-split .testimonial-card-split {
  position: relative;
  padding: 8px;
  border-radius: 6px;
}
.layout-split .quote-mark {
  position: absolute;
  top: 4px;
  left: 4px;
  opacity: 0.15;
}
.layout-split .quote-text {
  font-size: 0.36rem;
  line-height: 1.3;
  margin: 0 0 6px 0;
}
.layout-split .testimonial-user-info {
  display: flex;
  align-items: center;
  gap: 6px;
}
.layout-split .user-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 0.28rem;
}
.layout-split .quote-author-name {
  font-size: 0.32rem;
  font-weight: 700;
  margin: 0;
}
.layout-split .quote-author-title {
  font-size: 0.26rem;
  margin: 0;
}
.layout-split .sim-web-footer {
  padding: 8px;
  font-size: 0.28rem;
  text-align: center;
}

/* LAYOUT 1: LIGHT THEME OVERRIDES */
.layout-split .sim-web-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.layout-split .sim-web-logo {
  color: #0f172a;
}
.layout-split .status-badge {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.layout-split .sim-web-hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}
.layout-split .sim-web-hero-title {
  color: #0f172a;
}
.layout-split .sim-web-hero-desc {
  color: #475569;
}
.layout-split .sim-web-service-row {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--preview-accent);
}
.layout-split .row-num {
  color: #94a3b8;
}
.layout-split .row-content h5 {
  color: #0f172a;
}
.layout-split .row-content p {
  color: #475569;
}
.layout-split .sim-web-testimonial-section {
  background: #f1f5f9;
}
.layout-split .testimonial-card-split {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.layout-split .quote-text {
  color: #0f172a;
}
.layout-split .quote-author-name {
  color: #0f172a;
}
.layout-split .quote-author-title {
  color: #94a3b8;
}
.layout-split .sim-web-footer {
  color: #94a3b8;
  border-top: 1px solid #e2e8f0;
}

/* LAYOUT 1: DARK THEME OVERRIDES */
.dark-theme .layout-split .sim-web-header {
  background-color: #111827;
  border-bottom: 2px solid var(--preview-accent);
}
.dark-theme .layout-split .sim-web-logo {
  color: #f8fafc;
}
.dark-theme .layout-split .status-badge {
  background: #0a0d14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.dark-theme .layout-split .sim-web-hero-section {
  background: linear-gradient(180deg, #111827 0%, #0a0d14 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dark-theme .layout-split .sim-web-hero-title {
  color: #f8fafc;
}
.dark-theme .layout-split .sim-web-hero-desc {
  color: #cbd5e1;
}
.dark-theme .layout-split .sim-web-service-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--preview-accent);
}
.dark-theme .layout-split .row-num {
  color: #64748b;
}
.dark-theme .layout-split .row-content h5 {
  color: #f8fafc;
}
.dark-theme .layout-split .row-content p {
  color: #cbd5e1;
}
.dark-theme .layout-split .sim-web-testimonial-section {
  background: #111827;
}
.dark-theme .layout-split .testimonial-card-split {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.dark-theme .layout-split .quote-text {
  color: #f8fafc;
}
.dark-theme .layout-split .quote-author-name {
  color: #f8fafc;
}
.dark-theme .layout-split .quote-author-title {
  color: #64748b;
}
.dark-theme .layout-split .sim-web-footer {
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* LAYOUT 2: NEO-BRUTALIST TECH */
.layout-brutalist .sim-web-header {
  height: 24px;
  padding: 0 8px;
}
.layout-brutalist .brutal-btn {
  transition: transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
  font-size: 0.36rem;
  padding: 4px 10px;
}
.layout-brutalist .brutal-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--text-main);
}
.layout-brutalist .brutal-card {
  transition: transform 0.1s, box-shadow 0.1s;
  padding: 6px;
  gap: 6px;
}
.layout-brutalist .brutal-card:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--text-main);
}
.layout-brutalist .brutal-card h5 {
  font-size: 0.38rem;
}
.layout-brutalist .brutal-card p {
  font-size: 0.28rem;
}
.layout-brutalist .brutalist-testimonial .quote-text {
  font-size: 0.36rem;
  line-height: 1.35;
  margin: 0;
}
.layout-brutalist .sim-web-footer {
  padding: 8px;
  font-size: 0.28rem;
  text-align: center;
}

/* LAYOUT 2: LIGHT THEME OVERRIDES */
.layout-brutalist .sim-web-container {
  background-color: #faf8f5;
  border: 2px solid #0f172a;
}
.layout-brutalist .sim-web-header {
  border-bottom: 2px solid #0f172a;
  background-color: #ffffff;
  color: #0f172a;
}
.layout-brutalist .sim-web-logo {
  color: #0f172a;
}
.layout-brutalist .sim-web-hero-section {
  background-color: #ffffff;
  border-bottom: 2px solid #0f172a;
}
.layout-brutalist .sim-web-hero-title {
  color: #0f172a;
}
.layout-brutalist .sim-web-hero-desc {
  border-left: 2px solid #0f172a;
  color: #475569;
}
.layout-brutalist .brutal-btn {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #0f172a;
  box-shadow: 2px 2px 0 #0f172a;
}
.layout-brutalist .sim-web-services-section {
  border-bottom: 2px solid #0f172a;
}
.layout-brutalist .brutal-card {
  background: #ffffff;
  border: 1.5px solid #0f172a;
  box-shadow: 1.5px 1.5px 0 #0f172a;
  color: #0f172a;
}
.layout-brutalist .brutal-card h5 {
  color: #0f172a;
}
.layout-brutalist .brutal-card p {
  color: #475569;
}
.layout-brutalist .sim-web-testimonial-section {
  background-color: var(--preview-accent-alpha);
  border-bottom: 2px solid #0f172a;
}
.layout-brutalist .brutalist-testimonial {
  color: #0f172a;
}
.layout-brutalist .brutalist-testimonial .quote-text {
  color: #0f172a;
}
.layout-brutalist .brutalist-testimonial .quote-author {
  color: #0f172a;
}
.layout-brutalist .sim-web-footer {
  color: #475569;
  border-top: 2px solid #0f172a;
}

/* LAYOUT 2: DARK THEME OVERRIDES */
.dark-theme .layout-brutalist .sim-web-container {
  background-color: #121318;
  border: 2px solid #f8fafc;
}
.dark-theme .layout-brutalist .sim-web-header {
  border-bottom: 2px solid #f8fafc;
  background-color: #1e2028;
  color: #f8fafc;
}
.dark-theme .layout-brutalist .sim-web-logo {
  color: #f8fafc;
}
.dark-theme .layout-brutalist .sim-web-hero-section {
  background-color: #1a1b20;
  border-bottom: 2px solid #f8fafc;
}
.dark-theme .layout-brutalist .sim-web-hero-title {
  color: #f8fafc;
}
.dark-theme .layout-brutalist .sim-web-hero-desc {
  border-left: 2px solid #f8fafc;
  color: #cbd5e1;
}
.dark-theme .layout-brutalist .brutal-btn {
  background: #1e2028;
  color: #f8fafc;
  border: 1.5px solid #f8fafc;
  box-shadow: 2px 2px 0 #f8fafc;
}
.dark-theme .layout-brutalist .sim-web-services-section {
  border-bottom: 2px solid #f8fafc;
}
.dark-theme .layout-brutalist .brutal-card {
  background: #1e2028;
  border: 1.5px solid #f8fafc;
  box-shadow: 1.5px 1.5px 0 #f8fafc;
  color: #f8fafc;
}
.dark-theme .layout-brutalist .brutal-card h5 {
  color: #f8fafc;
}
.dark-theme .layout-brutalist .brutal-card p {
  color: #cbd5e1;
}
.dark-theme .layout-brutalist .sim-web-testimonial-section {
  background-color: var(--preview-accent-alpha);
  border-bottom: 2px solid #f8fafc;
}
.dark-theme .layout-brutalist .brutalist-testimonial {
  color: #f8fafc;
}
.dark-theme .layout-brutalist .brutalist-testimonial .quote-text {
  color: #f8fafc;
}
.dark-theme .layout-brutalist .brutalist-testimonial .quote-author {
  color: #f8fafc;
}
.dark-theme .layout-brutalist .sim-web-footer {
  color: #cbd5e1;
  border-top: 2px solid #f8fafc;
}


/* ── Phone preview responsive overrides ── */
.phone-screen-content .sim-web-container {
  font-size: 0.58rem; /* Make base fonts slightly more legible on phone viewport */
}
.phone-screen-content .sim-web-header {
  height: 24px;
}
.phone-screen-content .sim-web-logo {
  font-size: 0.52rem !important;
}
/* Hide standard header menu links on mobile preview */
.phone-screen-content .sim-web-menu-nav span:not(.status-badge) {
  display: none !important;
}
/* Show hamburger icon instead */
.phone-screen-content .sim-web-menu-nav::after {
  content: '☰';
  font-size: 0.52rem;
  color: var(--text-muted);
  font-weight: 900;
  margin-left: 2px;
}
.phone-screen-content .sim-web-hero-section {
  padding: 20px 10px !important;
}
.phone-screen-content .sim-web-hero-title {
  font-size: 0.72rem !important;
  line-height: 1.25 !important;
}
.phone-screen-content .sim-web-hero-desc {
  font-size: 0.42rem !important;
  max-width: 100% !important;
}
.phone-screen-content .sim-web-services-section {
  padding: 10px 8px !important;
}
.phone-screen-content .sim-web-section-title {
  font-size: 0.48rem !important;
}
/* Force grid items to stack vertically on phone preview */
.phone-screen-content .sim-web-services-grid {
  grid-template-columns: 1fr !important;
  gap: 6px !important;
}
.phone-screen-content .sim-web-service-card {
  padding: 8px 6px !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.phone-screen-content .sim-web-service-card .icon-circle {
  margin: 0 !important;
  flex-shrink: 0;
  width: 16px !important;
  height: 16px !important;
}
.phone-screen-content .sim-web-service-card h5 {
  font-size: 0.4rem !important;
  margin: 0 0 1px 0 !important;
}
.phone-screen-content .sim-web-service-card p {
  font-size: 0.32rem !important;
  margin: 0 !important;
}
.phone-screen-content .sim-web-testimonial-section {
  padding: 10px 8px !important;
}
.phone-screen-content .quote-text {
  font-size: 0.4rem !important;
}
.phone-screen-content .quote-author {
  font-size: 0.34rem !important;
}
.phone-screen-content .testimonial-card-split {
  padding: 8px !important;
}
.phone-screen-content .testimonial-user-info {
  margin-top: 6px !important;
}
.phone-screen-content .sim-web-footer {
  padding: 8px 6px !important;
  font-size: 0.32rem !important;
}

/* --- INDUSTRY SPECIFIC HERO BACKGROUNDS & OVERFLOW CONSTRAINTS --- */
.sim-web-hero-section {
  position: relative !important;
  overflow: hidden !important;
}

.industry-bg-finance {
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.18) 0%, transparent 80%),
              linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
              linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px) !important;
  background-size: 100% 100%, 10px 10px, 10px 10px !important;
}

.industry-bg-healthcare {
  background: radial-gradient(circle at top, rgba(20, 184, 166, 0.18) 0%, transparent 80%),
              radial-gradient(circle at 30% 50%, rgba(20, 184, 166, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(20, 184, 166, 0.05) 0%, transparent 50%) !important;
}

.industry-bg-retail {
  background: radial-gradient(circle at top, rgba(244, 63, 94, 0.18) 0%, transparent 80%),
              radial-gradient(circle, rgba(244, 63, 94, 0.04) 10%, transparent 11%) !important;
  background-size: 100% 100%, 12px 12px !important;
}

.industry-bg-restaurant {
  background: radial-gradient(circle at top, rgba(245, 158, 11, 0.2) 0%, transparent 80%),
              linear-gradient(0deg, rgba(245, 158, 11, 0.03) 2px, transparent 2px) !important;
  background-size: 100% 100%, 100% 8px !important;
}

.industry-bg-services {
  background: radial-gradient(circle at top, rgba(99, 102, 241, 0.18) 0%, transparent 80%),
              linear-gradient(45deg, rgba(99, 102, 241, 0.03) 25%, transparent 25%, transparent 75%, rgba(99, 102, 241, 0.03) 75%),
              linear-gradient(45deg, rgba(99, 102, 241, 0.03) 25%, transparent 25%, transparent 75%, rgba(99, 102, 241, 0.03) 75%) !important;
  background-size: 100% 100%, 14px 14px, 14px 14px !important;
  background-position: 0 0, 7px 7px, 0 0 !important;
}

.industry-bg-other {
  background: radial-gradient(circle at top, rgba(167, 139, 250, 0.22) 0%, transparent 80%),
              linear-gradient(135deg, rgba(139, 92, 246, 0.07) 0%, rgba(236, 72, 153, 0.07) 100%) !important;
}

/* Background image overlay watermark inside previews */
.sim-web-hero-section {
  position: relative !important;
  overflow: hidden !important;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.12; /* Light theme watermark opacity */
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: background-image 0.5s ease;
}

.dark-theme .hero-bg-image {
  opacity: 0.16; /* Dark theme watermark opacity */
  mix-blend-mode: lighten;
}

.hero-bg-image + * {
  position: relative;
  z-index: 2;
}

.hero-float-emoji, .hero-glow, .sim-web-badge, .sim-web-hero-title, .sim-web-hero-desc, .sim-web-btn-container {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   LIVE PROJECT SHOWCASE GRID
   ========================================================================== */
.projects-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.project-showcase-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  z-index: 1;
}

.project-showcase-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 92, 53, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.project-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0) var(--y, 0), rgba(255, 92, 53, 0.05), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none;
}

.project-showcase-card:hover .project-card-glow {
  opacity: 1;
}

.project-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: color 0.3s ease, background-color 0.3s ease;
  border: 1px solid var(--border-color);
}

.project-showcase-card:hover .project-icon-wrap {
  color: var(--brand-orange);
  background-color: rgba(255, 92, 53, 0.08);
  border-color: rgba(255, 92, 53, 0.2);
}

.project-category {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}

.project-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.project-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.project-card-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.proj-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-light);
}

.project-visit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 0 0;
  border-top: 1px solid var(--border-color);
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  margin-top: auto;
  text-decoration: none;
}

.project-visit-btn i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.project-showcase-card:hover .project-visit-btn {
  color: var(--brand-orange-hover);
}

.project-showcase-card:hover .project-visit-btn i {
  transform: translate(3px, -3px);
}



/* ==========================================================================
   PREMIUM BENTO SERVICE CARDS
   ========================================================================== */

/* Bento Grid Layout — equal-size cards */
.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 24px;
  align-items: stretch;
}

/* Base card styles */
.svc-bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  min-height: 380px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  cursor: pointer;
}

.svc-bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.2);
  border-color: var(--svc-accent-color);
}

.svc-bento-card:hover .svc-bento-cta {
  background: var(--svc-accent-color);
  color: #fff;
  border-color: var(--svc-accent-color);
  transform: translateX(4px);
  box-shadow: 0 8px 20px -4px var(--svc-accent-glow-soft);
}

.svc-bento-card:hover .svc-bento-cta svg {
  transform: translateX(3px);
}

/* Animated gradient border on hover */
.svc-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: var(--svc-accent-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.svc-bento-card:hover::before {
  opacity: 1;
}

/* Glowing background blob on hover */
.svc-bento-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--svc-accent-glow);
  filter: blur(80px);
  top: -60px;
  right: -60px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.svc-bento-card:hover .svc-bento-glow {
  opacity: 1;
}

/* Card number watermark */
.svc-bento-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--svc-accent-color);
  opacity: 0.06;
  font-family: var(--font-heading);
  line-height: 1;
  z-index: 1;
  transition: opacity 0.3s ease;
  letter-spacing: -2px;
}

.svc-bento-card:hover .svc-bento-number {
  opacity: 0.12;
}

/* Icon wrap with animated ring */
.svc-bento-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  z-index: 2;
}

.svc-bento-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: var(--svc-accent-bg);
  border: 1px solid var(--svc-accent-border);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.svc-bento-card:hover .svc-bento-icon-ring {
  transform: scale(1.15) rotate(8deg);
  opacity: 0.7;
}

.svc-bento-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px !important;
  height: 26px !important;
  color: var(--svc-accent-color);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-bento-card:hover .svc-bento-icon {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Content for wide cards */
.svc-bento-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

/* Title */
.svc-bento-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  z-index: 2;
  letter-spacing: -0.3px;
}

/* Description */
.svc-bento-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  z-index: 2;
  flex-grow: 1;
}

/* Tech tags */
.svc-bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  z-index: 2;
  margin-top: 6px;
}

.svc-bento-tags span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--svc-accent-color);
  background: var(--svc-accent-bg);
  border: 1.5px solid var(--svc-accent-border);
  padding: 5px 13px;
  border-radius: 100px;
  letter-spacing: 0.4px;
  transition: background 0.3s, border-color 0.3s;
}

.svc-bento-card:hover .svc-bento-tags span {
  background: var(--svc-accent-bg-hover);
  border-color: var(--svc-accent-color);
}

/* Feature list (AI card) */
.svc-bento-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.svc-bento-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.svc-bento-feature-item svg {
  color: var(--svc-accent-color);
  flex-shrink: 0;
}

/* Stat block (wide cards) */
.svc-bento-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--svc-accent-bg);
  border: 1px solid var(--svc-accent-border);
  border-radius: 18px;
  padding: 20px 28px;
  flex-shrink: 0;
  z-index: 2;
  transition: transform 0.4s ease, background 0.3s;
}

.svc-bento-card:hover .svc-bento-stat {
  transform: scale(1.04);
  background: var(--svc-accent-bg-hover);
}

.svc-bento-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--svc-accent-color);
  font-family: var(--font-heading);
  line-height: 1;
}

.svc-bento-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CTA button */
.svc-bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--svc-accent-color);
  background: var(--svc-accent-bg);
  border: 1.5px solid var(--svc-accent-color);
  padding: 11px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  align-self: flex-start;
  margin-top: auto;
  letter-spacing: 0.2px;
}

.svc-bento-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
}

.svc-bento-cta:hover {
  background: var(--svc-accent-color);
  color: #fff;
  border-color: var(--svc-accent-color);
  transform: translateX(4px);
  box-shadow: 0 8px 20px -4px var(--svc-accent-glow-soft);
}

.svc-bento-cta svg {
  transition: transform 0.3s ease;
}

.svc-bento-cta:hover svg {
  transform: translateX(3px);
}

/* ---- Accent Color Themes ---- */

/* Orange (PPC) */
.svc-accent-orange {
  --svc-accent-color: #f97316;
  --svc-accent-bg: rgba(249, 115, 22, 0.08);
  --svc-accent-bg-hover: rgba(249, 115, 22, 0.14);
  --svc-accent-border: rgba(249, 115, 22, 0.18);
  --svc-accent-gradient: linear-gradient(135deg, #f97316, #fb923c);
  --svc-accent-glow: rgba(249, 115, 22, 0.4);
  --svc-accent-glow-soft: rgba(249, 115, 22, 0.35);
}

/* Green (SEO) */
.svc-accent-green {
  --svc-accent-color: #22c55e;
  --svc-accent-bg: rgba(34, 197, 94, 0.08);
  --svc-accent-bg-hover: rgba(34, 197, 94, 0.14);
  --svc-accent-border: rgba(34, 197, 94, 0.18);
  --svc-accent-gradient: linear-gradient(135deg, #22c55e, #4ade80);
  --svc-accent-glow: rgba(34, 197, 94, 0.35);
  --svc-accent-glow-soft: rgba(34, 197, 94, 0.35);
}

/* Purple (Content) */
.svc-accent-purple {
  --svc-accent-color: #a855f7;
  --svc-accent-bg: rgba(168, 85, 247, 0.08);
  --svc-accent-bg-hover: rgba(168, 85, 247, 0.14);
  --svc-accent-border: rgba(168, 85, 247, 0.18);
  --svc-accent-gradient: linear-gradient(135deg, #a855f7, #c084fc);
  --svc-accent-glow: rgba(168, 85, 247, 0.35);
  --svc-accent-glow-soft: rgba(168, 85, 247, 0.35);
}

/* Cyan (Web Dev) */
.svc-accent-cyan {
  --svc-accent-color: #06b6d4;
  --svc-accent-bg: rgba(6, 182, 212, 0.08);
  --svc-accent-bg-hover: rgba(6, 182, 212, 0.14);
  --svc-accent-border: rgba(6, 182, 212, 0.18);
  --svc-accent-gradient: linear-gradient(135deg, #06b6d4, #22d3ee);
  --svc-accent-glow: rgba(6, 182, 212, 0.35);
  --svc-accent-glow-soft: rgba(6, 182, 212, 0.35);
}

/* Blue (CRM) */
.svc-accent-blue {
  --svc-accent-color: #3b82f6;
  --svc-accent-bg: rgba(59, 130, 246, 0.08);
  --svc-accent-bg-hover: rgba(59, 130, 246, 0.14);
  --svc-accent-border: rgba(59, 130, 246, 0.18);
  --svc-accent-gradient: linear-gradient(135deg, #3b82f6, #60a5fa);
  --svc-accent-glow: rgba(59, 130, 246, 0.35);
  --svc-accent-glow-soft: rgba(59, 130, 246, 0.35);
}

/* Pink (Logo) */
.svc-accent-pink {
  --svc-accent-color: #ec4899;
  --svc-accent-bg: rgba(236, 72, 153, 0.08);
  --svc-accent-bg-hover: rgba(236, 72, 153, 0.14);
  --svc-accent-border: rgba(236, 72, 153, 0.18);
  --svc-accent-gradient: linear-gradient(135deg, #ec4899, #f472b6);
  --svc-accent-glow: rgba(236, 72, 153, 0.35);
  --svc-accent-glow-soft: rgba(236, 72, 153, 0.35);
}

/* Amber (Graphic) */
.svc-accent-amber {
  --svc-accent-color: #f59e0b;
  --svc-accent-bg: rgba(245, 158, 11, 0.08);
  --svc-accent-bg-hover: rgba(245, 158, 11, 0.14);
  --svc-accent-border: rgba(245, 158, 11, 0.18);
  --svc-accent-gradient: linear-gradient(135deg, #f59e0b, #fbbf24);
  --svc-accent-glow: rgba(245, 158, 11, 0.35);
  --svc-accent-glow-soft: rgba(245, 158, 11, 0.35);
}

/* Indigo (AI Agents) */
.svc-accent-indigo {
  --svc-accent-color: #6366f1;
  --svc-accent-bg: rgba(99, 102, 241, 0.08);
  --svc-accent-bg-hover: rgba(99, 102, 241, 0.14);
  --svc-accent-border: rgba(99, 102, 241, 0.18);
  --svc-accent-gradient: linear-gradient(135deg, #6366f1, #818cf8);
  --svc-accent-glow: rgba(99, 102, 241, 0.35);
  --svc-accent-glow-soft: rgba(99, 102, 241, 0.35);
}

/* Dark mode enhancements */
.dark-theme .svc-bento-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.dark-theme .svc-bento-card:hover {
  border-color: transparent;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.4), 0 0 40px -10px var(--svc-accent-glow);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
}

@media (max-width: 700px) {
  .services-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .svc-bento-card {
    min-height: 280px;
    padding: 28px;
  }
}

/* ==========================================================================
   PREMIUM AGENTIC COMPARISON CARDS
   ========================================================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  perspective: 1000px;
}

.comparison-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 40px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 1;
}

.comparison-card:hover {
  transform: translateY(-8px) rotateX(1deg) rotateY(-1deg);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.25);
}

.traditional-card {
  border-left: 4px solid #ef4444;
}

.bharatedge-card {
  border-left: 4px solid var(--brand-orange);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(var(--brand-orange-rgb), 0.02) 100%);
}

.dark-theme .bharatedge-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(255, 87, 34, 0.03) 100%);
}

/* Glow bubbles for cards */
.comparison-card .card-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.traditional-card .card-glow {
  background: rgba(239, 68, 68, 0.15);
  top: -50px;
  left: -50px;
}

.traditional-card:hover .card-glow {
  opacity: 1;
}

.bharatedge-card .card-glow {
  background: rgba(255, 87, 34, 0.2);
  bottom: -50px;
  right: -50px;
}

.bharatedge-card:hover .card-glow {
  opacity: 1;
}

/* Header Section */
.comparison-header {
  position: relative;
  z-index: 2;
}

.comp-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.comp-badge.premium {
  background: rgba(255, 87, 34, 0.1);
  color: var(--brand-orange);
  animation: badgeGlow 3s infinite alternate;
}

@keyframes badgeGlow {
  0% { box-shadow: 0 0 0px rgba(255, 87, 34, 0); }
  100% { box-shadow: 0 0 10px rgba(255, 87, 34, 0.2); }
}

.comparison-header h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.comparison-header .desc {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Body and List items */
.comparison-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.comp-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.comp-item:hover {
  transform: translateX(4px);
}

.comp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.comp-icon svg {
  width: 22px;
  height: 22px;
  transition: transform 0.4s ease;
}

.negative .comp-icon svg {
  color: #ef4444;
}

.positive .comp-icon svg {
  color: #22c55e;
}

.comp-item:hover .comp-icon svg {
  transform: scale(1.2) rotate(6deg);
}

.comp-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comp-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.comp-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Responsive design for comparison grid */
@media (max-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .comparison-card {
    padding: 30px;
  }
}

/* Premium Breadcrumbs Styling */
.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 87, 34, 0.05);
  border: 1px solid rgba(255, 87, 34, 0.15);
  border-radius: 30px;
  margin-bottom: 30px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px -3px rgba(255, 87, 34, 0.05);
}

.dark-theme .breadcrumb-nav {
  background: rgba(255, 87, 34, 0.08);
  border-color: rgba(255, 87, 34, 0.2);
  box-shadow: 0 4px 20px -3px rgba(0, 0, 0, 0.3);
}

.breadcrumb-nav a {
  color: var(--text-light);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.dark-theme .breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--brand-orange);
  transform: translateY(-0.5px);
}

.breadcrumb-nav .separator {
  color: var(--text-muted);
  opacity: 0.5;
  font-size: 0.8rem;
  user-select: none;
}

.breadcrumb-nav .current {
  color: var(--brand-orange);
  font-weight: 700;
}

/* Premium Table Styles */
.seo-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  margin-top: 16px;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.seo-table th,
.seo-table td {
  padding: 16px 24px;
}

.seo-table th {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-color);
}

.seo-table td {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  line-height: 1.5;
}

.seo-table tr:last-child td {
  border-bottom: none;
}

.seo-table tbody tr {
  transition: background-color var(--transition-fast);
}

.seo-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Premium FAQ Accordion Styles */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.1);
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--brand-orange);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: none;
}

/* Desktop website visual box spacing */
.service-visual-box .devices-side-show {
  margin-top: 24px;
}

/* Responsive Overrides for Website Development Interactive Mockups & Builder */
@media (max-width: 768px) {
  /* Reorder: mockups first, paragraph below */
  .service-visual-box .devices-side-show {
    order: 1;
    margin-top: 0 !important;
  }

  .service-visual-box .live-controls-row {
    order: 2;
    margin-bottom: 16px;
  }

  .service-visual-box .hero-desc {
    order: 3;
    text-align: left;
  }

  .devices-side-show {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
  }

  .laptop-frame {
    width: 100%;
    max-width: 320px;
  }

  .laptop-bezel {
    border-width: 6px 6px 0 6px !important;
  }

  .laptop-base-stand {
    width: 110% !important;
    height: 8px !important;
  }

  .phone-frame {
    width: 130px;
    height: 260px;
    border-width: 4px !important;
  }

  .service-visual-box {
    padding: 16px !important;
  }

  .live-controls-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .industry-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
    gap: 8px !important;
  }

  .industry-option-card {
    padding: 12px 8px !important;
    gap: 6px !important;
  }

  .industry-option-card i {
    width: 20px !important;
    height: 20px !important;
  }

  .industry-option-card span {
    font-size: 0.7rem !important;
  }
  
  .wizard-steps-indicator {
    margin-bottom: 16px !important;
  }
}

/* ── Mobile-Only: Compact Metrics Section ── */
@media (max-width: 768px) {
  .metrics-section {
    padding: 28px 0 !important;
  }

  .metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .metric-box {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
  }

  .metric-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-orange) 0%, #ff8a65 100%);
    border-radius: 14px 14px 0 0;
  }

  .metric-number {
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--brand-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .metric-label {
    font-size: 0.65rem !important;
    letter-spacing: 0.3px !important;
    line-height: 1.3 !important;
    color: var(--text-muted) !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
  }
}
