/* ==========================================================================
   MOAT DIGITAL - HIGH PERFORMANCE STATIC DESIGN SYSTEM
   Zero Builder Overhead | Semantic Modern CSS | 60FPS GPU Accelerated
   ========================================================================== */

/* Universal Cross-Browser Century Gothic Web Fonts */
@font-face {
  font-family: 'Century Gothic';
  src: url('../fonts/CenturyGothic-Regular.woff2') format('woff2'),
       url('../fonts/CenturyGothic-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Century Gothic';
  src: url('../fonts/CenturyGothic-Bold.woff2') format('woff2'),
       url('../fonts/CenturyGothic-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Century Gothic';
  src: url('../fonts/CenturyGothic-Italic.woff2') format('woff2'),
       url('../fonts/CenturyGothic-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Century Gothic';
  src: url('../fonts/CenturyGothic-BoldItalic.woff2') format('woff2'),
       url('../fonts/CenturyGothic-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-bg: #030308;
  --color-bg-secondary: #080c16;
  --color-surface: #0f1422;
  --color-surface-elevated: #161c30;
  --color-surface-hover: #1e2640;

  --color-primary: #3498db;
  --color-primary-glow: rgba(52, 152, 219, 0.4);
  --color-secondary: #8A2BE2;
  --color-secondary-glow: rgba(138, 43, 226, 0.4);
  --color-accent: #2ECC71;
  --color-accent-glow: rgba(46, 204, 113, 0.35);

  --color-text: #FFFFFF;
  --color-text-muted: #FFFFFF;
  --color-text-subtle: #94A3B8;
  --color-border: rgba(138, 43, 226, 0.22);
  --color-border-glow: rgba(138, 43, 226, 0.6);
  --color-card-border: rgba(255, 255, 255, 0.08);

  --font-family: 'Century Gothic', CenturyGothic, AppleGothic, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* React Spring Physics curves (Tension / Friction approximations) */
  --spring-wobbly: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --spring-default: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-gentle: cubic-bezier(0.25, 1, 0.5, 1);
  --spring-bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);

  --container-max: 1240px;
}

/* 1. Universal CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(138, 43, 226, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(52, 152, 219, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

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

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

button, input, textarea {
  font: inherit;
  color: inherit;
}

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  position: relative;
}

/* 2. Global Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

p,
.hero-desc,
.page-hero-desc,
.section-subtitle,
.accordion-desc,
.stk-card-desc,
.case-card-desc,
.testimonial-quote,
.testimonial-quote-text,
.cta-banner-desc,
.feature-desc,
.feature-box p,
.cta-banner-box p,
.article-body p,
.author-info p,
.footer-newsletter p {
  color: #FFFFFF !important;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #38BDF8 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(52, 152, 219, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(52, 152, 219, 0.25);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 680px;
  line-height: 1.7;
}

.section-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* 3. LUXURY FUTURISTIC BUTTON SYSTEM (Aura Glow, 3D Inset Shadows & Responsive)
   Seamless integration for all .btn, .btn-primary, .btn-secondary, .btn-outline,
   .btn-whatsapp, animated .btn-letter shimmer, and .txt-wrapper state transitions. */

/* 3. LUXURY FUTURISTIC GLASSMORPHISM BUTTON SYSTEM (Animated Edges & Frosted Glass)
   Seamless integration for all .btn, .btn-primary, .btn-secondary, .btn-outline,
   .btn-whatsapp, animated .btn-letter shimmer, and .txt-wrapper state transitions. */

@property --edge-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --header-edge-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.btn-wrapper {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  max-width: 100%;
}

.btn {
  --border-radius: var(--radius-full, 9999px);
  --padding: 4px;
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --btn-glass-bg: rgba(15, 23, 42, 0.62);
  --btn-glass-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  --highlight-color-hue: 204deg;
  --edge-c1: #38bdf8;
  --edge-c2: #8A2BE2;
  --edge-c3: #00F0FF;
  --btn-edge-glow: rgba(56, 189, 248, 0.55);
  --btn-edge-glow-hover: rgba(56, 189, 248, 0.95);
  --button-glow-color: rgba(52, 152, 219, 0.28);

  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(1.2rem, 2.8vw, 1.8rem);
  font-family: var(--font-family);
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.015em;
  color: #FFFFFF;
  text-decoration: none;

  /* Frosted Glass Surface */
  background-color: var(--btn-glass-bg);
  background-image: var(--btn-glass-surface);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);

  /* Specular Highlight, Inset Depth & Ambient Glass Glow */
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--border-radius);
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 0 16px 0 rgba(255, 255, 255, 0.05),
    0 8px 32px 0 rgba(0, 0, 0, 0.38),
    0 2px 8px 0 rgba(0, 0, 0, 0.25),
    0 0 20px -2px var(--button-glow-color);

  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;

  transition:
    color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

/* Glass Specular Sheen Layer */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
  transition: opacity var(--transition), background var(--transition);
}

/* 60FPS High-Precision Animated Glass Edge Rim */
.btn::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--border-radius) + 1.5px);
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(
    from var(--edge-angle, 0deg),
    transparent 0deg,
    transparent 45deg,
    var(--edge-c1, #38bdf8) 100deg,
    var(--edge-c2, #8A2BE2) 175deg,
    var(--edge-c3, #00F0FF) 240deg,
    transparent 300deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: edge-rotate 3.5s linear infinite;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px var(--btn-edge-glow, rgba(56, 189, 248, 0.6)));
  z-index: 2;
  transition: opacity var(--transition), filter var(--transition);
}

@keyframes edge-rotate {
  0% {
    --edge-angle: 0deg;
  }
  100% {
    --edge-angle: 360deg;
  }
}

/* Linear sweep fallback for older environments without @property */
@supports not (background: paint(something)) {
  .btn::after {
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--edge-c1, #38bdf8) 25%,
      var(--edge-c2, #8A2BE2) 50%,
      var(--edge-c3, #00F0FF) 75%,
      transparent 100%
    );
    background-size: 200% 200%;
    animation: edge-sweep 3s linear infinite;
  }

  @keyframes edge-sweep {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 200% 50%;
    }
  }
}

/* Color & Brand Glassmorphic Variations */
.btn-primary {
  --btn-glass-bg: rgba(11, 23, 42, 0.65);
  --btn-glass-surface: linear-gradient(135deg, rgba(56, 189, 248, 0.24) 0%, rgba(138, 43, 226, 0.16) 50%, rgba(11, 23, 42, 0.45) 100%);
  --highlight-color-hue: 204deg; /* Electric Cyan/Blue */
  --edge-c1: #38bdf8;
  --edge-c2: #8A2BE2;
  --edge-c3: #00F0FF;
  --btn-edge-glow: rgba(56, 189, 248, 0.6);
  --btn-edge-glow-hover: rgba(56, 189, 248, 0.95);
  --button-glow-color: rgba(52, 152, 219, 0.32);
  border-color: rgba(56, 189, 248, 0.3);
}

.btn-secondary {
  --btn-glass-bg: rgba(22, 12, 42, 0.65);
  --btn-glass-surface: linear-gradient(135deg, rgba(138, 43, 226, 0.26) 0%, rgba(168, 85, 247, 0.18) 50%, rgba(22, 12, 42, 0.45) 100%);
  --highlight-color-hue: 271deg; /* Vibrant Purple */
  --edge-c1: #A855F7;
  --edge-c2: #8A2BE2;
  --edge-c3: #EC4899;
  --btn-edge-glow: rgba(138, 43, 226, 0.6);
  --btn-edge-glow-hover: rgba(168, 85, 247, 0.95);
  --button-glow-color: rgba(138, 43, 226, 0.32);
  border-color: rgba(168, 85, 247, 0.3);
}

.btn-outline {
  --btn-glass-bg: rgba(255, 255, 255, 0.05);
  --btn-glass-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 100%);
  --highlight-color-hue: 271deg;
  --edge-c1: rgba(255, 255, 255, 0.45);
  --edge-c2: #A855F7;
  --edge-c3: #38bdf8;
  --btn-edge-glow: rgba(168, 85, 247, 0.45);
  --btn-edge-glow-hover: rgba(255, 255, 255, 0.9);
  --button-glow-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--color-text);
}

.btn-whatsapp {
  --btn-glass-bg: rgba(11, 34, 22, 0.65);
  --btn-glass-surface: linear-gradient(135deg, rgba(37, 211, 102, 0.24) 0%, rgba(16, 185, 129, 0.14) 50%, rgba(11, 34, 22, 0.45) 100%);
  --highlight-color-hue: 142deg; /* Neon Emerald / WhatsApp */
  --edge-c1: #25D366;
  --edge-c2: #4ADE80;
  --edge-c3: #10B981;
  --btn-edge-glow: rgba(37, 211, 102, 0.6);
  --btn-edge-glow-hover: rgba(74, 222, 128, 0.95);
  --button-glow-color: rgba(37, 211, 102, 0.32);
  border-color: rgba(37, 211, 102, 0.35);
  color: #FFFFFF;
}

/* Hover States: Clean Glass Refraction (Zero Glow Hover, Font Color #3498db) */
.btn:hover {
  transform: translateY(-2px);
  color: #3498db !important;
  text-shadow: none !important;
  border-color: rgba(52, 152, 219, 0.45);
  background-color: var(--btn-glass-bg);
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 14px 0 rgba(255, 255, 255, 0.04),
    0 8px 24px 0 rgba(0, 0, 0, 0.4);
}

.btn:hover::before {
  opacity: 0.95;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    transparent 65%
  );
}

.btn:hover::after {
  opacity: 0.95;
  filter: none !important;
  animation-duration: 2s;
}

.btn:hover .btn-svg {
  fill: #3498db !important;
  animation: none;
  filter: none !important;
}

.btn:hover .btn-letter {
  color: #3498db !important;
  text-shadow: none !important;
  animation: none !important;
}

.btn:hover .txt-1,
.btn:hover .txt-2 {
  color: #3498db !important;
}

/* Active State */
.btn:active {
  transform: translateY(0px) scale(0.98);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.6),
    inset 0 0 12px rgba(255, 255, 255, 0.05),
    0 4px 16px var(--btn-edge-glow);
}

.btn:active::before {
  opacity: 0.5;
}

.btn:active::after {
  opacity: 1;
  filter: brightness(180%);
}

.btn:active .btn-letter {
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.95);
  animation: none;
}

/* Focus State & Keyboard Navigation */
.btn:focus-visible {
  outline: 2px solid var(--edge-c1, #38bdf8);
  outline-offset: 3px;
}

.btn:focus::after {
  opacity: 1;
  filter: brightness(125%) drop-shadow(0 0 8px var(--btn-edge-glow));
}

/* Glowing Sparkle SVG Icon */
.btn-svg {
  flex-shrink: 0;
  width: 1.35em;
  height: 1.35em;
  fill: #e8e8e8;
  animation: flicker 2s linear infinite;
  animation-delay: 0.5s;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
  transition: fill var(--transition), filter var(--transition), opacity var(--transition);
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
  }
  50% {
    opacity: 0.35;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.2));
  }
}

/* Shimmering Staggered Letters */
.btn-letter {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  animation: letter-anim 2s ease-in-out infinite;
  transition: color var(--transition), text-shadow var(--transition), opacity var(--transition), transform var(--transition);
}

@keyframes letter-anim {
  0%, 100% {
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
  }
  50% {
    text-shadow: 0 0 6px #ffffff, 0 0 14px hsla(var(--highlight-color-hue), 100%, 75%, 0.85);
    color: #ffffff;
  }
}

.btn:focus .btn-letter,
.btn.is-loading .btn-letter {
  animation: focused-letter-anim 1s ease-in-out forwards,
    letter-anim 1.2s ease-in-out infinite;
  animation-delay: 0s, 1s;
}

@keyframes focused-letter-anim {
  0%, 100% {
    filter: blur(0px);
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
    filter: blur(3px) brightness(160%)
      drop-shadow(0 0 12px hsl(var(--highlight-color-hue), 100%, 70%));
  }
}

.btn:focus .btn-svg {
  animation-duration: 1.2s;
  animation-delay: 0.2s;
}

/* Animation Delays for .btn-letter Elements (Up to 30 characters) */
.btn-letter:nth-child(1), .btn:focus .btn-letter:nth-child(1) { animation-delay: 0s; }
.btn-letter:nth-child(2), .btn:focus .btn-letter:nth-child(2) { animation-delay: 0.06s; }
.btn-letter:nth-child(3), .btn:focus .btn-letter:nth-child(3) { animation-delay: 0.12s; }
.btn-letter:nth-child(4), .btn:focus .btn-letter:nth-child(4) { animation-delay: 0.18s; }
.btn-letter:nth-child(5), .btn:focus .btn-letter:nth-child(5) { animation-delay: 0.24s; }
.btn-letter:nth-child(6), .btn:focus .btn-letter:nth-child(6) { animation-delay: 0.30s; }
.btn-letter:nth-child(7), .btn:focus .btn-letter:nth-child(7) { animation-delay: 0.36s; }
.btn-letter:nth-child(8), .btn:focus .btn-letter:nth-child(8) { animation-delay: 0.42s; }
.btn-letter:nth-child(9), .btn:focus .btn-letter:nth-child(9) { animation-delay: 0.48s; }
.btn-letter:nth-child(10), .btn:focus .btn-letter:nth-child(10) { animation-delay: 0.54s; }
.btn-letter:nth-child(11), .btn:focus .btn-letter:nth-child(11) { animation-delay: 0.60s; }
.btn-letter:nth-child(12), .btn:focus .btn-letter:nth-child(12) { animation-delay: 0.66s; }
.btn-letter:nth-child(13), .btn:focus .btn-letter:nth-child(13) { animation-delay: 0.72s; }
.btn-letter:nth-child(14), .btn:focus .btn-letter:nth-child(14) { animation-delay: 0.78s; }
.btn-letter:nth-child(15), .btn:focus .btn-letter:nth-child(15) { animation-delay: 0.84s; }
.btn-letter:nth-child(16), .btn:focus .btn-letter:nth-child(16) { animation-delay: 0.90s; }
.btn-letter:nth-child(17), .btn:focus .btn-letter:nth-child(17) { animation-delay: 0.96s; }
.btn-letter:nth-child(18), .btn:focus .btn-letter:nth-child(18) { animation-delay: 1.02s; }
.btn-letter:nth-child(19), .btn:focus .btn-letter:nth-child(19) { animation-delay: 1.08s; }
.btn-letter:nth-child(20), .btn:focus .btn-letter:nth-child(20) { animation-delay: 1.14s; }
.btn-letter:nth-child(21), .btn:focus .btn-letter:nth-child(21) { animation-delay: 1.20s; }
.btn-letter:nth-child(22), .btn:focus .btn-letter:nth-child(22) { animation-delay: 1.26s; }
.btn-letter:nth-child(23), .btn:focus .btn-letter:nth-child(23) { animation-delay: 1.32s; }
.btn-letter:nth-child(24), .btn:focus .btn-letter:nth-child(24) { animation-delay: 1.38s; }
.btn-letter:nth-child(25), .btn:focus .btn-letter:nth-child(25) { animation-delay: 1.44s; }
.btn-letter:nth-child(26), .btn:focus .btn-letter:nth-child(26) { animation-delay: 1.50s; }
.btn-letter:nth-child(27), .btn:focus .btn-letter:nth-child(27) { animation-delay: 1.56s; }
.btn-letter:nth-child(28), .btn:focus .btn-letter:nth-child(28) { animation-delay: 1.62s; }
.btn-letter:nth-child(29), .btn:focus .btn-letter:nth-child(29) { animation-delay: 1.68s; }
.btn-letter:nth-child(30), .btn:focus .btn-letter:nth-child(30) { animation-delay: 1.74s; }

/* Responsive Dual-State Text System (txt-1 & txt-2) using CSS Grid Stacking */
.txt-wrapper {
  position: relative;
  display: inline-grid;
  grid-template-areas: "button-text";
  align-items: center;
  justify-items: center;
  line-height: 1.2;
}

.txt-1,
.txt-2 {
  grid-area: button-text;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.txt-1 {
  opacity: 1;
  transform: translateY(0);
}

.txt-2 {
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
}

.btn:focus .txt-1,
.btn.is-loading .txt-1 {
  opacity: 0;
  transform: translateY(-4px);
}

.btn:focus .txt-2,
.btn.is-loading .txt-2 {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Support for standard SVG arrow & external link icons inside .btn */
.btn > svg:not(.btn-svg) {
  flex-shrink: 0;
  transition: transform var(--transition), stroke var(--transition), filter var(--transition);
}

.btn:hover > svg:not(.btn-svg) {
  transform: translateX(3px);
  stroke: #3498db !important;
  filter: none !important;
}

/* Responsive Button Layout Controls */
@media (max-width: 640px) {
  .btn {
    min-height: 46px;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .btn-wrapper {
    width: 100%;
  }
  .btn-block-mobile,
  .hero-actions .btn {
    width: 100%;
  }
  .btn {
    padding: 0.6rem 1.15rem;
    font-size: 0.88rem;
  }
  .btn-svg {
    width: 1.2em;
    height: 1.2em;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn::before,
  .btn::after,
  .btn-svg,
  .btn-letter,
  .txt-1,
  .txt-2 {
    animation: none !important;
    transition: none !important;
  }
  .btn-letter {
    color: #FFFFFF !important;
    text-shadow: none !important;
  }
}

/* 4. Modern Floating Header with Glassmorphism & Neon Animated Border */
:root {
  --header-radius: 22px;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 20px;
  right: 20px;
  margin: 0 auto;
  max-width: 1240px;
  width: auto;
  z-index: 1000;
  border-radius: var(--header-radius);
  background: rgba(8, 12, 28, 0.72);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 36px -8px rgba(0, 0, 0, 0.65),
    0 2px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.16);
  padding: 0 1.5rem;
  box-sizing: border-box;
  transition:
    top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Glass Specular Top Highlight */
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35) 20%,
    rgba(255, 255, 255, 0.35) 80%,
    transparent
  );
  pointer-events: none;
  z-index: 2;
  border-radius: 9999px;
}

/* Live Neon Moving Border Edge (Electric Cyan, Blue & Royal Purple) */
.site-header::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--header-radius) + 1.5px);
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(
    from var(--header-edge-angle, 0deg),
    transparent 0deg,
    transparent 45deg,
    #00d2ff 90deg,
    #3b82f6 140deg,
    #8A2BE2 195deg,
    #c084fc 235deg,
    #00F0FF 275deg,
    transparent 320deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: header-edge-rotate 5s linear infinite;
  opacity: 0.88;
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.45)) drop-shadow(0 0 18px rgba(138, 43, 226, 0.4));
  z-index: 1;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

@keyframes header-edge-rotate {
  0% {
    --header-edge-angle: 0deg;
  }
  100% {
    --header-edge-angle: 360deg;
  }
}

/* Linear sweep fallback for older environments without @property */
@supports not (background: paint(something)) {
  .site-header::after {
    background: linear-gradient(
      135deg,
      transparent 10%,
      #00d2ff 40%,
      #8A2BE2 70%,
      transparent 95%
    );
    animation: header-edge-shimmer 4s ease-in-out infinite alternate;
  }
  @keyframes header-edge-shimmer {
    0% { filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.4)); opacity: 0.6; }
    100% { filter: drop-shadow(0 0 14px rgba(138, 43, 226, 0.7)); opacity: 1; }
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .site-header::after {
    animation: none !important;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.4), rgba(138, 43, 226, 0.4));
  }
}

/* Scrolled elevation state */
.site-header.scrolled {
  top: 10px;
  background: rgba(6, 9, 22, 0.9);
  border-color: rgba(138, 43, 226, 0.25);
  box-shadow:
    0 16px 45px -6px rgba(0, 0, 0, 0.8),
    0 0 25px -4px rgba(138, 43, 226, 0.35),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.22);
}

.site-header.scrolled::after {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.6)) drop-shadow(0 0 22px rgba(138, 43, 226, 0.55));
}

.site-header .container {
  max-width: 100%;
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
  z-index: 3;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo img {
  height: 38px;
  width: auto;
  max-height: 38px;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.nav-link:hover, .nav-link.is-active {
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #8A2BE2);
  transition: width 0.3s var(--spring-default);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

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

.header-cta {
  display: flex;
  align-items: center;
}

.header-cta .btn {
  min-height: 40px;
  padding: 0.45rem 1.35rem;
  font-size: 0.88rem;
  border-radius: var(--radius-full, 9999px);
}

/* Dropdown Container */
.nav-item.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-chevron {
  transition: transform 0.35s var(--spring-wobbly);
  stroke: currentColor;
  flex-shrink: 0;
}

/* Hover hit-zone to bridge mouse gap */
.nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -15px;
  right: -15px;
  height: 18px;
  background: transparent;
}

/* Dropdown Menu - React Spring Physics curves */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(12, 16, 28, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(138, 43, 226, 0.32);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(138, 43, 226, 0.15);
  min-width: 310px;
  padding: 1.25rem;
  z-index: 1100;
  transition:
    opacity 0.25s var(--spring-gentle),
    transform 0.35s var(--spring-wobbly),
    visibility 0.25s;
  will-change: transform, opacity;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu,
.nav-item.has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-item.has-dropdown:hover .dropdown-chevron,
.nav-item.has-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

/* Compact Dropdown for Resources */
.dropdown-menu-compact {
  min-width: 200px;
  padding: 0.6rem;
}

.dropdown-menu-compact .dropdown-link {
  padding: 10px 14px;
}

/* Wide Dropdown for Expertise (9 items) */
.dropdown-menu-wide {
  min-width: 580px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.96);
}

.dropdown-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.dropdown-col-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  padding: 0 8px;
}

.dropdown-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dropdown-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-text-subtle);
}

.dropdown-view-all {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: transform 0.2s var(--spring-default), color 0.2s;
}

.dropdown-view-all:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.dropdown-list, .dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.24s var(--spring-default);
}

.dropdown-link:hover {
  background: rgba(138, 43, 226, 0.12);
  border-color: rgba(138, 43, 226, 0.3);
  transform: translateX(4px);
}

.dropdown-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
  transition: color 0.2s;
}

.dropdown-link:hover .dropdown-item-title {
  color: var(--color-primary);
}

.dropdown-item-desc {
  font-size: 0.74rem;
  color: var(--color-text-subtle);
  margin-top: 2px;
  line-height: 1.35;
}

/* Mobile Toggle and Submenu Button */
.mobile-dropdown-btn {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 24px;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 1200;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text);
  transition: all 0.3s var(--spring-default);
  transform-origin: center;
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer & Breakpoints (Tablet & Phone) */
@media (max-width: 1080px) {
  .site-header {
    top: 10px;
    left: 12px;
    right: 12px;
    height: 64px;
    border-radius: 18px;
    padding: 0 1.15rem;
  }

  .site-header.scrolled {
    top: 6px;
  }

  .header-inner {
    height: 64px;
  }

  .brand-logo img {
    height: 32px;
    max-height: 32px;
    max-width: 165px;
  }

  .hero-section {
    padding-top: 105px;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.25s var(--spring-default);
    flex-shrink: 0;
  }

  .mobile-dropdown-btn.is-active {
    background: rgba(138, 43, 226, 0.25);
    border-color: rgba(138, 43, 226, 0.5);
    color: #FFFFFF;
  }

  .mobile-dropdown-btn.is-active .dropdown-chevron {
    transform: rotate(180deg);
  }

  /* In mobile menu, desktop chevron hidden */
  .nav-dropdown-toggle .dropdown-chevron {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 380px);
    height: 100vh;
    height: 100dvh;
    background: rgba(8, 12, 22, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-left: 1px solid rgba(138, 43, 226, 0.35);
    padding: 5rem 1.5rem 3rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    overflow-y: auto;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.8);
    transform: translateX(100%);
    transition: transform 0.45s var(--spring-default);
    z-index: 1150;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-item.has-dropdown {
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 4px;
  }

  .nav-item.has-dropdown .nav-link {
    flex: 1;
    font-size: 1.02rem;
    padding: 10px 0;
  }

  .nav-menu > .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 0;
    font-size: 1.02rem;
  }

  /* In mobile drawer, dropdown menu expands as accordion */
  .dropdown-menu,
  .dropdown-menu-wide {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    margin-top: 0.35rem;
    margin-bottom: 0.5rem;
    display: none;
    transition: all 0.35s var(--spring-gentle);
  }

  .nav-item.has-dropdown.is-open .dropdown-menu {
    display: block;
    animation: springFadeIn 0.35s var(--spring-default);
  }

  .dropdown-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header {
    top: 8px;
    left: 8px;
    right: 8px;
    height: 58px;
    border-radius: 16px;
    padding: 0 0.85rem;
  }

  .site-header.scrolled {
    top: 4px;
  }

  .header-inner {
    height: 58px;
  }

  .brand-logo img {
    height: 28px;
    max-height: 28px;
    max-width: 140px;
  }
}

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

/* 5. Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Hero Ambient Award Badges Background Layer (Original Look, 100% Opacity)
   ========================================================================== */
.hero-awards-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  user-select: none;
}

.hero-award-ambient {
  position: absolute;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.65));
}

.hero-award-ambient--left {
  top: clamp(16%, 22%, 28%);
  left: clamp(1.5rem, 5.5vw, 7.5rem);
  animation: heroAwardFloatLeft 11s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.hero-award-ambient--right {
  top: clamp(28%, 36%, 44%);
  right: clamp(1.5rem, 5.5vw, 7.5rem);
  animation: heroAwardFloatRight 13s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.hero-award-bg-img {
  display: block;
  width: clamp(150px, 14vw, 210px);
  max-width: 210px;
  height: auto;
  object-fit: contain;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Ambient 60fps GPU Keyframe Cycles (translateY ±8px to ±20px drift with subtle organic tilt, 100% opacity) */
@keyframes heroAwardFloatLeft {
  0% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(5px, -12px, 0) rotate(0.8deg);
  }
  100% {
    transform: translate3d(-4px, -20px, 0) rotate(-1.5deg);
  }
}

@keyframes heroAwardFloatRight {
  0% {
    transform: translate3d(0, 0, 0) rotate(2deg);
  }
  50% {
    transform: translate3d(-6px, 14px, 0) rotate(-1.2deg);
  }
  100% {
    transform: translate3d(3px, 20px, 0) rotate(1.5deg);
  }
}

/* Tablet Viewport (769px - 1024px) */
@media (max-width: 1024px) {
  .hero-award-bg-img {
    width: clamp(120px, 14vw, 155px);
    max-width: 155px;
    opacity: 1;
  }

  .hero-award-ambient--left {
    left: clamp(0.75rem, 2.5vw, 2.5rem);
    top: 18%;
  }

  .hero-award-ambient--right {
    right: clamp(0.75rem, 2.5vw, 2.5rem);
    top: 40%;
  }
}

/* Mobile Viewport (<= 768px) */
@media (max-width: 768px) {
  .hero-award-bg-img {
    width: 88px;
    max-width: 88px;
    opacity: 1;
  }

  .hero-award-ambient--left {
    left: -12px;
    top: 8%;
  }

  .hero-award-ambient--right {
    right: -10px;
    top: 60%;
  }
}

/* Small Mobile Screen (< 480px) */
@media (max-width: 480px) {
  .hero-award-bg-img {
    width: 80px;
    opacity: 1;
  }

  .hero-award-ambient--left {
    left: -15px;
    top: 7%;
  }

  .hero-award-ambient--right {
    right: -12px;
    top: 62%;
  }
}

/* Accessibility: Gracefully disable keyframe loops for users with reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-award-ambient {
    animation: none !important;
    transform: none !important;
  }

  .hero-award-bg-img {
    opacity: 1 !important;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.roi-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.roi-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title-main {
  font-size: clamp(2.3rem, 4.8vw, 3.85rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-subtitle-roi {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
  line-height: 1.7;
}

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

.hero-awards-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(14px, 2.5vw, 24px);
  flex-wrap: wrap;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
  z-index: 15;
}

.hero-award-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(14, 21, 37, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 22px;
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  user-select: none;
}

/* Award Image Zoom Wrap & High Visibility */
.award-img-zoom-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 62px;
  flex-shrink: 0;
  overflow: visible;
}

.award-zoom-img {
  width: 56px;
  height: 62px;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter;
  /* Enhanced baseline visibility */
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65)) brightness(1.15) contrast(1.1);
}

/* Zoom Hover & Focus Interaction */
.hero-award-badge:hover,
.hero-award-badge:focus-visible,
.hero-award-badge.is-zoomed {
  transform: translateY(-4px);
  background: rgba(18, 27, 48, 0.92);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 28px rgba(0, 240, 255, 0.2);
  z-index: 25;
}

.hero-award-badge:nth-child(2):hover,
.hero-award-badge:nth-child(2):focus-visible,
.hero-award-badge:nth-child(2).is-zoomed {
  border-color: rgba(138, 43, 226, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 28px rgba(138, 43, 226, 0.25);
}

.hero-award-badge:hover .award-zoom-img,
.hero-award-badge:focus-visible .award-zoom-img,
.hero-award-badge.is-zoomed .award-zoom-img {
  transform: scale(1.42) translateY(-3px);
  z-index: 30;
}

.hero-award-badge:first-child:hover .award-zoom-img,
.hero-award-badge:first-child:focus-visible .award-zoom-img,
.hero-award-badge:first-child.is-zoomed .award-zoom-img {
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.8))
          drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7))
          brightness(1.25) contrast(1.12);
}

.hero-award-badge:last-child:hover .award-zoom-img,
.hero-award-badge:last-child:focus-visible .award-zoom-img,
.hero-award-badge:last-child.is-zoomed .award-zoom-img {
  filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.9))
          drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7))
          brightness(1.25) contrast(1.12);
}

.hero-award-badge .award-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  transition: color 0.3s ease;
}

/* Responsive Scaling for Mobile/Tablet */
@media (max-width: 640px) {
  .hero-award-badge {
    padding: 10px 16px;
    gap: 12px;
  }

  .award-img-zoom-wrap,
  .award-zoom-img {
    width: 48px;
    height: 54px;
  }

  .hero-award-badge:hover .award-zoom-img,
  .hero-award-badge.is-zoomed .award-zoom-img {
    transform: scale(1.3) translateY(-2px);
  }
}

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

.hero-trophy-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.15), rgba(15, 20, 34, 0.6));
  border: 1px solid rgba(138, 43, 226, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(138, 43, 226, 0.2);
  backdrop-filter: blur(16px);
  text-align: center;
}

.hero-trophy-card img {
  margin: 0 auto;
  max-height: 380px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
  transition: transform var(--transition-slow);
}

.hero-trophy-card:hover img {
  transform: scale(1.03) translateY(-4px);
}

.hero-trophy-caption {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* 6. Running Marquee Ticker */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #18052B 0%, #061A34 50%, #18052B 100%);
  border-top: 1px solid rgba(138, 43, 226, 0.35);
  border-bottom: 1px solid rgba(52, 152, 219, 0.35);
  padding: 16px 0;
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.15);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-slide 28s linear infinite;
  gap: 3rem;
  width: max-content;
}

.ticker-item {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ticker-item span.star {
  color: var(--color-primary);
  text-shadow: 0 0 10px var(--color-primary);
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 7. Our 8-Pillar Growth Framework (Accordion / Tabs) */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.accordion-item:hover, .accordion-item.is-active {
  border-color: rgba(138, 43, 226, 0.7);
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.18);
  background: var(--color-surface-elevated);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  text-align: left;
  transition: color var(--transition-fast);
}

.accordion-title-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.accordion-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  min-width: 44px;
}

.accordion-title {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
  color: var(--color-text);
}

.accordion-item.is-active .accordion-title {
  color: #FFFFFF;
}

.accordion-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
}

.accordion-item.is-active .accordion-icon {
  transform: rotate(180deg);
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #FFFFFF;
  box-shadow: 0 0 15px var(--color-secondary-glow);
}

/* CSS Grid Hardware-Accelerated Expansion (Zero CLS) */
.accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-base);
}

.accordion-item.is-active .accordion-collapse {
  grid-template-rows: 1fr;
}

.accordion-inner {
  overflow: hidden;
}

.accordion-panel {
  padding: 0 32px 32px 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 24px;
}

.accordion-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.accordion-preview-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: #000;
}

.accordion-preview-card img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.accordion-item.is-active .accordion-preview-card img:hover {
  transform: scale(1.04);
}

/* ==========================================================================
   7.5 SCROLL-DRIVEN SCALING CARD STACK (8-PILLAR GROWTH FRAMEWORK)
   Tailwind / Modern CSS Scroll-Timeline Implementation (CodeFronts Inspired)
   ========================================================================== */

@keyframes stk-card-shrink {
  to {
    transform: scale(0.92);
    filter: brightness(0.65);
  }
}

/* Framework Section - Bottom Spacing Zeroed */
#framework {
  padding-bottom: 0 !important;
}

.stk-stack-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  padding-bottom: 0 !important;
}

.stk-card {
  --stk-top-base: 88px;
  --stk-step: 14px;
  position: sticky;
  top: calc(var(--stk-top-base) + var(--i, 0) * var(--stk-step));
  margin-bottom: clamp(60px, 15vh, 140px);
  border-radius: 24px;
  background-color: var(--card-bg, #0c1122);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, var(--card-glow, rgba(52, 152, 219, 0.1)) 0%, transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.28),
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 25px -5px var(--card-glow, rgba(52, 152, 219, 0.15));
  overflow: hidden;
  transform-origin: center top;
  will-change: transform, filter;
  animation: stk-card-shrink linear both;
  animation-timeline: view();
  animation-range: exit 0% exit 100%;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.stk-card:last-child {
  margin-bottom: 0 !important;
}

.stk-card:hover {
  border-color: var(--card-accent, rgba(52, 152, 219, 0.5));
}

.stk-card-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(24px, 3.5vw, 42px);
}

.stk-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0.75rem;
}

.stk-card-num {
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--card-accent, var(--color-primary));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.15));
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.stk-card-title {
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
}

.stk-card-desc {
  font-size: clamp(0.94rem, 1.15vw, 1.04rem);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.stk-card-action {
  display: flex;
  align-items: center;
}

.stk-card-preview {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  background: #000;
}

.stk-card-preview img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.stk-card:hover .stk-card-preview img {
  transform: scale(1.03);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 900px) {
  .stk-card {
    --stk-top-base: 74px;
    --stk-step: 10px;
    margin-bottom: 80px;
    border-radius: 20px;
  }

  .stk-card-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 22px;
  }

  .stk-card-body {
    order: 1;
    width: 100%;
  }

  .stk-card-preview {
    order: 2;
    width: 100%;
    height: auto;
    max-height: none;
    margin-top: 1.25rem;
    display: block;
    overflow: hidden;
  }

  .stk-card-preview .moat-img-shimmer-wrap {
    height: auto !important;
    width: 100%;
  }

  .stk-card-preview img {
    width: 100%;
    height: auto;
    max-height: 320px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

/* ==========================================================================
   8-Pillar Framework Responsive Mobile Layout Fix
   ========================================================================== */

@media (max-width: 767px) {
  /* Stack card contents vertically with clean spacing */
  .stk-card-inner {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .stk-card-body {
    order: 1;
    width: 100%;
  }

  /* Preview Container: Allow fluid height locked to natural aspect ratio */
  .stk-card-preview {
    order: 2;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    min-height: unset !important;
    margin-top: 1.25rem;
    display: block;
    overflow: hidden;
    border-radius: calc(var(--card-radius, 12px) - 2px);
  }

  .stk-card-preview .moat-img-shimmer-wrap {
    height: auto !important;
    width: 100%;
  }

  /* Ensure the image fills the full container width with proportionate height */
  .stk-card-preview img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stk-card {
    animation: none !important;
  }
}

/* 8. Experience Stats Section */
#stats {
  position: relative;
  overflow: hidden;
}

#stats-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(18, 24, 48, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 43, 226, 0.6);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #FFFFFF 30%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: capitalize;
}

/* 9. Collaborations / Client Brand Slider */
.hero-brands-wrap {
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  background: transparent !important;
  border: none !important;
  padding: 8px 0 0 !important;
}

.brands-slider-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 24px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: brands-scroll 32s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

.brand-item {
  flex-shrink: 0;
  opacity: 0.75;
  transition: all var(--transition-fast);
}

.brand-item:hover {
  opacity: 1;
  transform: scale(1.08);
}

.brand-item img {
  height: 48px;
  max-width: 160px;
  object-fit: contain;
}

@keyframes brands-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 10. Case Studies Section */
.case-studies-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.case-studies-title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.butterfly-accent {
  width: 58px;
  height: auto;
  animation: float-butterfly 4s ease-in-out infinite;
}

@keyframes float-butterfly {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 43, 226, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(138, 43, 226, 0.2);
}

.case-card-thumb {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #000;
}

.case-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.case-card:hover .case-card-thumb img {
  transform: scale(1.06);
}

.case-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(3, 3, 8, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

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

.case-card-client {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 8px;
}

.case-card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.case-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* 11. Comparison Matrix (Moat Digital vs Competitors) */
.comparison-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 22px 28px;
  font-size: 1.15rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th.col-moat {
  background: rgba(138, 43, 226, 0.15);
  color: #FFFFFF;
  border-left: 1px solid rgba(138, 43, 226, 0.4);
  border-right: 1px solid rgba(138, 43, 226, 0.4);
}

.comparison-table th.col-competitors {
  color: var(--color-text-subtle);
}

.comparison-table td {
  padding: 24px 28px;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}

.comparison-table td.col-feature {
  font-weight: 700;
  color: #FFFFFF;
  width: 22%;
}

.comparison-table td.col-moat {
  background: rgba(138, 43, 226, 0.05);
  border-left: 1px solid rgba(138, 43, 226, 0.3);
  border-right: 1px solid rgba(138, 43, 226, 0.3);
  width: 44%;
}

.comparison-table td.col-competitors {
  color: var(--color-text-muted);
  width: 34%;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item-pro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #FFFFFF;
  line-height: 1.5;
}

.feature-item-pro .check-icon {
  color: #A855F7;
  font-weight: 800;
  flex-shrink: 0;
}

.feature-item-con {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-subtle);
  line-height: 1.5;
}

.feature-item-con .cross-icon {
  color: #EF4444;
  font-weight: 800;
  flex-shrink: 0;
}

/* Comparison Table Scrollbar & Mobile Responsiveness */
.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x !important;
  padding-bottom: 0.85rem !important;
  scrollbar-width: thin !important;
  scrollbar-color: #00F0FF rgba(255, 255, 255, 0.05) !important;
}

.comparison-card {
  position: relative;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
  scrollbar-color: #00F0FF rgba(255, 255, 255, 0.05) !important;
}

.comparison-table-wrapper::-webkit-scrollbar,
.comparison-card::-webkit-scrollbar {
  height: 8px !important;
  display: block !important;
}

.comparison-table-wrapper::-webkit-scrollbar-track,
.comparison-card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 999px !important;
  margin: 0 16px !important;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb,
.comparison-card::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #8A2BE2, #00F0FF, #22c55e) !important;
  border-radius: 999px !important;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5) !important;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb:hover,
.comparison-card::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #a855f7, #38bdf8, #4ade80) !important;
}

.comparison-scroll-hint {
  display: none;
}

@media (max-width: 900px) {
  .comparison-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #00F0FF;
    background: rgba(0, 240, 255, 0.05);
    border-bottom: 1px solid rgba(0, 240, 255, 0.12);
    letter-spacing: 0.02em;
  }

  .comparison-scroll-hint .hint-arrow-anim {
    animation: hintDrift 1.5s ease-in-out infinite;
  }

  @keyframes hintDrift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
  }

  .comparison-card .comparison-table,
  .comparison-table-wrapper .comparison-table,
  .comparison-table {
    min-width: 780px !important; /* Prevents column squishing and text congestion */
  }

  .comparison-table th, 
  .comparison-table td {
    padding: 16px 20px !important;
    white-space: normal !important;
  }

  .comparison-table td.col-feature {
    width: 24% !important;
    min-width: 170px !important;
  }

  .comparison-table td.col-moat {
    width: 44% !important;
    min-width: 330px !important;
  }

  .comparison-table td.col-competitors {
    width: 32% !important;
    min-width: 280px !important;
  }
}

/* 12. Testimonials Infinite Vertical Marquee */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-marquee-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  padding: 10px 0;
}

/* Gradient Fade Masks Top & Bottom */
.testimonials-fade-top,
.testimonials-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  z-index: 10;
}

.testimonials-fade-top {
  top: 0;
  background: linear-gradient(180deg, var(--color-bg, #060913) 0%, rgba(6, 9, 19, 0.85) 30%, rgba(6, 9, 19, 0) 100%);
}

.testimonials-fade-bottom {
  bottom: 0;
  background: linear-gradient(0deg, var(--color-bg, #060913) 0%, rgba(6, 9, 19, 0.85) 30%, rgba(6, 9, 19, 0) 100%);
}

/* Marquee Grid Columns */
.testimonials-marquee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  height: 620px;
  overflow: hidden;
  position: relative;
}

.testimonials-marquee-col {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.testimonials-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  will-change: transform;
}

/* Infinite Vertical Marquee Animation */
@keyframes vertical-scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.animate-scroll-up-1 {
  animation: vertical-scroll-up 26s linear infinite;
}

.animate-scroll-up-2 {
  animation: vertical-scroll-up 32s linear infinite;
}

.animate-scroll-up-3 {
  animation: vertical-scroll-up 23s linear infinite;
}

/* Pause on hover/interaction for effortless reading */
.testimonials-marquee-col:hover .testimonials-marquee-track,
.testimonials-marquee-track:hover,
.testimonials-marquee-wrapper.is-paused .testimonials-marquee-track {
  animation-play-state: paused !important;
}

/* Slick Slider & Legacy Testimonial Portrait Support */
.author-img img,
.testimonial-slide .author-img img,
.testimonial-slide-2 .author-img img {
  width: 72px !important;
  height: 72px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Modern Testimonial Card Styling */
.testimonial-card-v2 {
  background: linear-gradient(180deg, rgba(14, 21, 37, 0.88) 0%, rgba(9, 14, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  user-select: none;
}

.testimonial-card-v2:hover {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 25px rgba(0, 240, 255, 0.15);
  transform: translateY(-3px);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.testimonial-quote-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.22);
}

.testimonial-quote-icon svg {
  width: 18px;
  height: 14px;
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #FFB800;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.testimonial-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #00F0FF;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 0.95rem;
  width: fit-content;
  letter-spacing: 0.02em;
}

.testimonial-metric-badge::before {
  content: "▲";
  font-size: 0.65rem;
  color: #2ECC71;
}

.testimonial-quote-text {
  font-size: 0.91rem;
  line-height: 1.65;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1rem;
  margin-top: auto;
}

.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
  overflow: hidden;
  flex-shrink: 0;
  background: #111827;
}

.testimonial-author-avatar img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.testimonial-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-author-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-author-role {
  font-size: 0.78rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-author-company {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary, #3498db);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive Breakpoints for Infinite Marquee */
@media (max-width: 1024px) {
  .testimonials-marquee-grid {
    grid-template-columns: repeat(2, 1fr);
    height: 560px;
    gap: 1rem;
  }
  .testimonials-marquee-col-3 {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .testimonials-marquee-grid {
    grid-template-columns: 1fr;
    height: 520px;
  }
  .testimonials-marquee-col-2 {
    display: none !important;
  }
  .testimonials-fade-top,
  .testimonials-fade-bottom {
    height: 80px;
  }
  .testimonial-card-v2 {
    padding: 1.25rem 1.35rem;
  }
  .testimonial-quote-text {
    font-size: 0.88rem;
  }
}

/* Legacy Support */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid rgba(52, 152, 219, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(52, 152, 219, 0.1);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 152, 219, 0.7);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(52, 152, 219, 0.25);
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 600;
}


/* 13. News & Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-secondary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.blog-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* ==========================================================================
   Universal Sticky Vertical-to-Horizontal Scroll (Mobile + Desktop)
   ========================================================================== */

/* Outer scroll track creates ample vertical scroll room to scrub through cards */
.blog-scroll-outer {
  position: relative;
  /* Proportional height: 280vh provides optimal scrub pacing on mobile and desktop */
  height: 280vh;
  box-sizing: border-box;
  background: var(--color-bg-secondary);
}

/* Sticky window locks to the viewport during the entire vertical scrub */
.blog-sticky-window {
  position: sticky;
  top: 0;
  /* Use dynamic viewport height (dvh) to avoid mobile address bar resize jitters */
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  z-index: 5;
}

/* Header inside sticky window stays pinned cleanly above the translating track */
.blog-sticky-header {
  width: 100%;
  padding: 1rem 1rem 0.5rem;
  box-sizing: border-box;
  flex-shrink: 0;
  text-align: center;
}

.blog-sticky-header .section-header-center {
  margin-bottom: 0;
}

.blog-sticky-header .section-tagline {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  padding: 3px 10px;
}

.blog-sticky-header .section-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.blog-sticky-header .section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.blog-horizontal-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

/* The moving track translated along the X-axis via scroll progress */
.blog-scroll-track,
.blog-carousel-track {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 1rem 1rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  touch-action: pan-y; /* Allows vertical page scrolling through touch gestures */
}

/* Base Card Styling (Fluid on Mobile, Sized for Proportional Viewports) */
.blog-carousel-card {
  flex: 0 0 320px;
  width: 320px;
  max-width: 82vw;
  background: var(--card-bg, #0d111a);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--card-radius, 14px);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.55);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
}

.blog-carousel-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 16px 35px -10px rgba(138, 43, 226, 0.35);
}

/* Landscape Image Housing: Strictly 16:9 Landscape - Never Cropped */
.blog-thumb-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  background: #060911;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-thumb-frame .bone,
.blog-thumb-frame .moat-skeleton-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.blog-thumb-frame.is-loaded .bone,
.blog-thumb-frame.is-loaded .moat-skeleton-media,
.blog-thumb-frame:has(img.moat-shimmer-loaded) .bone,
.blog-thumb-frame:has(img.moat-shimmer-loaded) .moat-skeleton-media {
  opacity: 0;
  visibility: hidden;
  display: none !important;
}

.blog-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Category Badge */
.blog-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(13, 17, 26, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  z-index: 2;
}

/* Card Body */
.blog-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}

.blog-read-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-primary, #a855f7);
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.65rem 0;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-title-link {
  color: #ffffff;
  text-decoration: none;
}

.case-card-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 1rem 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* High-Converting CTA Button */
.blog-card-action {
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.btn-blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 7px;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-blog-cta:active,
.btn-blog-cta:hover {
  background: var(--color-primary, #a855f7);
  color: #ffffff;
}

/* Master Archive Action Button */
.blog-footer-action {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.blog-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 36px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.35);
}

/* Desktop Expansion (Larger Screens) */
@media (min-width: 901px) {
  .blog-sticky-header {
    padding: 2.25rem 1.5rem 1rem;
  }
  .blog-scroll-track,
  .blog-carousel-track {
    gap: 2rem;
    padding: 1rem 3vw 1.5rem;
  }
  .blog-carousel-card {
    flex: 0 0 400px;
    width: 400px;
    max-width: none;
  }
  .blog-title {
    font-size: 1.2rem;
    -webkit-line-clamp: 3;
  }
  .case-card-desc {
    font-size: 0.88rem;
    -webkit-line-clamp: 3;
  }
}

/* Laptop and Short Desktop Viewports (Height <= 920px) */
@media (min-width: 1025px) and (max-height: 920px) {
  .blog-sticky-window {
    justify-content: center !important;
    padding-top: 84px !important;
    padding-bottom: 18px !important;
  }

  .blog-sticky-header {
    padding: 0 1.5rem 0.25rem !important;
  }

  .blog-sticky-header .section-tagline {
    font-size: 0.74rem !important;
    margin-bottom: 0.25rem !important;
  }

  .blog-sticky-header .section-title {
    font-size: clamp(1.75rem, 2.7vw, 2.35rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 0.35rem !important;
  }

  .blog-sticky-header .section-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .blog-horizontal-container {
    margin: 0.35rem 0 !important;
  }

  .blog-scroll-track,
  .blog-carousel-track {
    gap: 1.5rem !important;
    padding: 0.35rem 3vw 0.5rem !important;
  }

  .blog-carousel-card {
    flex: 0 0 clamp(360px, 24vw, 375px) !important;
    width: clamp(360px, 24vw, 375px) !important;
  }

  .blog-body {
    padding: 1rem 1.15rem !important;
  }

  .blog-meta-row {
    font-size: 0.74rem !important;
    margin-bottom: 0.4rem !important;
  }

  .blog-title {
    font-size: 1.08rem !important;
    line-height: 1.32 !important;
    margin-bottom: 0.45rem !important;
    -webkit-line-clamp: 2 !important;
  }

  .case-card-desc {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.65rem !important;
    -webkit-line-clamp: 2 !important;
  }

  .btn-blog-cta {
    padding: 7px 16px !important;
    font-size: 0.8rem !important;
  }

  .blog-footer-action {
    margin-top: 0.85rem !important;
    margin-bottom: 0 !important;
  }

  .blog-view-all-btn {
    padding: 11px 30px !important;
    font-size: 0.9rem !important;
  }
}

/* ==========================================================================
   Universal Mobile & Tablet Sticky Pinning Fix (<= 1024px / 700dp / 800dp)
   ========================================================================== */

@media (max-width: 1024px) {
  /* 1. Outer Container: Natural content height for mobile & small screens */
  #blog,
  .blog-scroll-outer {
    position: relative !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    padding: 3.5rem 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* 2. Window: Normal vertical flow on mobile & small screens */
  .blog-sticky-window {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* 3. Header Spacing */
  .blog-sticky-header {
    width: 100% !important;
    padding: 0 1.25rem 0.5rem !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .blog-sticky-header .section-header-center {
    margin-bottom: 0.75rem !important;
  }

  .blog-sticky-header .section-tagline {
    font-size: 0.74rem !important;
    margin-bottom: 0.35rem !important;
  }

  .blog-sticky-header .section-title {
    font-size: clamp(1.5rem, 4.5vw, 2rem) !important;
    line-height: 1.25 !important;
    margin: 0 0 0.5rem 0 !important;
  }

  .blog-sticky-header .section-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    margin: 0 auto !important;
    max-width: 600px !important;
  }

  /* 4. Horizontal Track Housing: Native Touch Slide & Scroll Snap */
  .blog-horizontal-container {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    position: relative !important;
    flex-shrink: 0 !important;
    margin: 0.5rem 0 0 0 !important;
    padding: 0 !important;
  }

  .blog-horizontal-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .blog-scroll-track {
    display: flex !important;
    gap: 1.25rem !important;
    width: max-content !important;
    padding: 0.5rem 1.25rem 0.75rem !important;
    transform: none !important;
    will-change: auto !important;
    touch-action: pan-x pan-y !important;
  }

  /* 5. Fluid Responsive Cards for Mobile & Small Screens */
  .blog-carousel-card {
    flex: 0 0 310px !important;
    width: 310px !important;
    max-width: 85vw !important;
    scroll-snap-align: start !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  .blog-thumb-frame {
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
  }

  .blog-body {
    padding: 1rem 1.15rem !important;
  }

  .blog-meta-row {
    font-size: 0.75rem !important;
    margin-bottom: 0.4rem !important;
  }

  .blog-title {
    font-size: 1.05rem !important;
    line-height: 1.32 !important;
    margin-bottom: 0.4rem !important;
    -webkit-line-clamp: 2 !important;
  }

  .case-card-desc {
    font-size: 0.84rem !important;
    line-height: 1.42 !important;
    margin-bottom: 0.75rem !important;
    -webkit-line-clamp: 2 !important;
  }

  .btn-blog-cta {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
  }

  /* 6. Footer CTA Button Snugly Docked 28px Below Cards */
  .blog-footer-action {
    display: flex !important;
    justify-content: center !important;
    margin-top: 28px !important;
    margin-bottom: 0 !important;
    padding: 0 1rem !important;
    flex-shrink: 0 !important;
    position: static !important;
  }

  .blog-view-all-btn {
    padding: 10px 26px !important;
    font-size: 0.88rem !important;
  }
}

/* 14. CTA Pre-Footer Banner: Standardized Clean Container with Header Nav Bar Neon Gradient Border Motion */
.cta-banner-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #090a12;
  color: #ffffff;
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

/* Subtle static ambient glow for depth */
.cta-banner-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 90vw);
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(138, 43, 226, 0.15) 0%, rgba(56, 189, 248, 0.08) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* CTA Card / Panel */
.cta-banner-box {
  position: relative;
  width: min(100%, 840px);
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding: clamp(32px, 4.5vw, 56px);
  border-radius: 24px;
  text-align: center;
  justify-items: center;
  background: rgba(14, 16, 28, 0.85);
  border: 1px solid rgba(138, 43, 226, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px -5px rgba(138, 43, 226, 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  z-index: 1;
}

.cta-banner-box:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 35px 95px -20px rgba(0, 0, 0, 0.9), 0 0 45px rgba(138, 43, 226, 0.4), 0 0 25px rgba(0, 210, 255, 0.35);
}

/* Exact Header Nav Bar Neon Gradient Blue & Purple Motion Effect */
.cta-banner-box::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 25.5px;
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(
    from var(--header-edge-angle, 0deg),
    transparent 0deg,
    transparent 45deg,
    #00d2ff 90deg,
    #3b82f6 140deg,
    #8A2BE2 195deg,
    #c084fc 235deg,
    #00F0FF 275deg,
    transparent 320deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: header-edge-rotate 5s linear infinite;
  opacity: 0.88;
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.45)) drop-shadow(0 0 18px rgba(138, 43, 226, 0.4));
  z-index: 2;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.cta-banner-box:hover::after {
  opacity: 1;
  filter: drop-shadow(0 0 16px rgba(0, 210, 255, 0.7)) drop-shadow(0 0 28px rgba(138, 43, 226, 0.65));
}

.cta-banner-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  color: #FFFFFF;
}

.cta-banner-desc {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .cta-banner-box::after {
    animation: none !important;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.4), rgba(138, 43, 226, 0.4));
  }
}

/* 15. Site Footer - Universal Modern Full-Width 3-Tier Architecture */
.site-footer {
  width: 100%;
  background: radial-gradient(circle at 50% 0%, #0d1629 0%, #050a16 55%, #020205 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  padding: 3.75rem 0 5.5rem 0;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(52, 152, 219, 0.65) 30%, rgba(138, 43, 226, 0.65) 70%, transparent 100%);
  pointer-events: none;
}

.footer-ambient-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 260px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(52, 152, 219, 0.09) 0%, rgba(138, 43, 226, 0.05) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.site-footer .container,
.site-footer .footer-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 clamp(1.5rem, 4.5vw, 5.5rem) !important;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Tier 1: Top Brand & Newsletter Split Bar */
.footer-top-bar {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
}

.footer-brand-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: 1rem;
  transition: opacity var(--transition-fast);
}

.footer-brand-logo:hover {
  opacity: 0.88;
}

.footer-brand-desc {
  color: var(--color-text-muted);
  font-size: 0.90rem;
  line-height: 1.62;
  margin-bottom: 1.2rem;
  max-width: 660px;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  width: 100%;
  max-width: 660px;
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  line-height: 1.4;
}

.contact-svg {
  color: #3498db;
  flex-shrink: 0;
  opacity: 0.95;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-item a:hover {
  color: #3498db;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Newsletter Card in Top Bar */
.footer-newsletter-panel {
  width: 100%;
}

.footer-newsletter-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.72) 0%, rgba(8, 13, 26, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.newsletter-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(138, 43, 226, 0.16);
  border: 1px solid rgba(138, 43, 226, 0.35);
  color: #c084fc;
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.newsletter-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.01em;
}

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

.newsletter-form-v2 {
  position: relative;
  margin-bottom: 0;
}

.newsletter-input-group {
  display: flex;
  gap: 10px;
  position: relative;
}

.newsletter-input-v2 {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  padding: 11px 18px;
  font-size: 0.88rem;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.newsletter-input-v2:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-submit-btn {
  background: linear-gradient(135deg, #3498db 0%, #2563eb 100%);
  border: none;
  border-radius: var(--radius-full);
  padding: 11px 22px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.newsletter-submit-btn:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #3498db 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(52, 152, 219, 0.38);
}

.newsletter-feedback {
  font-size: 0.79rem;
  line-height: 1.35;
  margin-top: 6px;
  min-height: 16px;
  transition: all var(--transition-fast);
}

.newsletter-feedback:empty {
  display: none;
}

.newsletter-feedback.is-error {
  color: #ff6b6b;
  display: block;
}

.newsletter-feedback.is-success {
  color: #2ECC71;
  display: block;
}

/* Tier 2: 5-Column Full-Width Navigation Silo Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 2.75rem);
  margin-bottom: 2.5rem;
  width: 100%;
  align-items: start;
}

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

.footer-col-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
  padding-bottom: 0.55rem;
  position: relative;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, #3498db, #8A2BE2);
  border-radius: 2px;
}

.footer-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav-list li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35;
}

.footer-nav-list li a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.35;
  padding: 2px 0;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  word-break: break-word;
}

.footer-nav-list li a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-nav-highlight {
  color: #38bdf8 !important;
  font-weight: 700 !important;
  margin-top: 3px;
}

/* Tier 3: Minimalist Copyright & Legal Strip */
.footer-bottom-strip {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.62);
}

.footer-utility-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-utility-links a {
  color: rgba(255, 255, 255, 0.68);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-utility-links a:hover {
  color: #FFFFFF;
}

.footer-utility-links .separator {
  color: rgba(255, 255, 255, 0.22);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 4px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  isolation: isolate;
}

.social-btn::after {
  content: "";
  position: absolute;
  inset: -1.2px;
  border-radius: 50%;
  padding: 1.2px;
  background: conic-gradient(from var(--edge-angle, 0deg), transparent 0deg, #38bdf8 100deg, #8A2BE2 180deg, transparent 260deg, transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  animation: edge-rotate 4s linear infinite;
  opacity: 0.55;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.5));
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.social-btn:hover {
  color: #3498db !important;
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(52, 152, 219, 0.45);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 6px 18px rgba(0, 0, 0, 0.35);
}

.social-btn:hover::after {
  opacity: 0.95;
  filter: none !important;
}

/* Responsive Footer Breakpoints */
@media (max-width: 1080px) {
  .footer-top-bar {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand-desc,
  .footer-contact-grid {
    max-width: 100%;
  }
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.75rem;
  }
  .footer-main-grid .footer-col:nth-child(5) {
    grid-column: span 2;
  }
  .footer-main-grid .footer-col:nth-child(5) .footer-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 1.75rem;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 3rem 0 6.25rem 0;
  }
  .site-footer .container,
  .site-footer .footer-container {
    padding: 0 1.15rem !important;
  }
  .footer-contact-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer-newsletter-card {
    padding: 1.25rem;
  }
  .newsletter-input-group {
    flex-direction: column;
  }
  .newsletter-submit-btn {
    width: 100%;
    padding: 12px;
  }
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }
  .footer-col-title {
    font-size: 0.84rem;
    margin-bottom: 0.75rem;
  }
  .footer-nav-list li a {
    font-size: 0.81rem;
    line-height: 1.32;
  }
  .footer-main-grid .footer-col:nth-child(5) {
    grid-column: span 2;
  }
  .footer-main-grid .footer-col:nth-child(5) .footer-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 1rem;
  }
  .footer-bottom-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
  }
  .footer-utility-links {
    justify-content: center;
  }
}

/* 16. Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-awards-row {
    justify-content: center;
  }
  .accordion-panel {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(3, 3, 8, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    display: none;
  }
  .nav-menu.is-open {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .comparison-table th, .comparison-table td {
    padding: 14px 16px;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   INNER LANDING PAGES & ARTICLE SYSTEM
   ========================================================================== */

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-subtle);
}
.breadcrumbs a {
  color: var(--color-text-subtle);
  transition: color var(--transition-fast);
}
.breadcrumbs a:hover {
  color: var(--color-primary);
}
.breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}
.breadcrumbs .current {
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Inner Page Hero */
.page-hero {
  padding: 8.5rem 0 4.5rem;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(138, 43, 226, 0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--color-card-border);
}
.page-hero-inner {
  max-width: 900px;
}
.page-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.page-hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 800px;
}
.page-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Feature & Solution Grids */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 2.5rem 0;
}
.feature-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
}
.feature-box {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}
.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-glow);
  box-shadow: 0 12px 32px rgba(138, 43, 226, 0.15);
}
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  font-size: 1.5rem;
}
.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #FFFFFF;
}
.feature-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Metrics Banner */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.metric-item {
  text-align: center;
}
.metric-value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.metric-label {
  font-size: 0.88rem;
  color: var(--color-text-subtle);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Editorial / Article Content Styling */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.article-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #E2E8F0;
}
.article-body h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-card-border);
  position: relative;
}
.article-body h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-secondary);
}
.article-body h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 2rem 0 1rem;
}
.article-body p {
  margin-bottom: 1.5rem;
}
.article-body ul, .article-body ol {
  margin: 1.25rem 0 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.article-body ul {
  list-style: disc;
}
.article-body ol {
  list-style: decimal;
}
.article-body li {
  padding-left: 0.25rem;
}
.article-body strong {
  color: #FFFFFF;
  font-weight: 600;
}
.article-body blockquote {
  border-left: 3px solid var(--color-secondary);
  background: var(--color-surface);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
  font-style: italic;
  color: #FFFFFF;
}

/* Table of Contents */
.toc-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2.5rem 0 3.5rem;
}
.toc-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.toc-list a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.toc-list a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* Comparison / Engine Table */
.engine-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-card-border);
}
.engine-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--color-surface);
}
.engine-table th, .engine-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-card-border);
  font-size: 0.92rem;
}
.engine-table th {
  background: var(--color-surface-elevated);
  color: #FFFFFF;
  font-weight: 600;
}
.engine-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Case Study Sidebar Layout */
.case-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.case-sidebar {
  position: sticky;
  top: 100px;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.sidebar-meta-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-card-border);
}
.sidebar-meta-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.sidebar-meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-subtle);
  margin-bottom: 0.35rem;
}
.sidebar-meta-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

@media (max-width: 992px) {
  .feature-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .feature-grid-3, .feature-grid-2 {
    grid-template-columns: 1fr;
  }
  .metrics-row {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem;
  }
}

/* ==========================================================================
   17. IMMERSIVE 3D WEBGL, WEBXR AR & SCROLLYTELLING 2.0
   ========================================================================== */

/* Lenis Smooth Scroll Core Rules */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* 3D Hero Stage Container */
.hero-3d-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 50%, rgba(52, 152, 219, 0.14) 0%, rgba(138, 43, 226, 0.08) 45%, transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 1rem 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Particle Canvas Overlay */
#crest-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Google <model-viewer> WebGL/WebXR Engine */
model-viewer#moat-crest-viewer {
  position: relative;
  width: 100%;
  height: 340px;
  z-index: 2;
  outline: none;
  background-color: transparent;
  --poster-color: transparent;
  cursor: grab;
}

model-viewer#moat-crest-viewer:active {
  cursor: grabbing;
}

/* Hologram Base Pedestal */
.hologram-pedestal {
  position: absolute;
  bottom: 55px;
  width: 220px;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.45) 0%, rgba(138, 43, 226, 0.25) 45%, transparent 75%);
  border-radius: 50%;
  filter: blur(5px);
  z-index: 1;
  animation: hologramPulse 3.5s ease-in-out infinite alternate;
}

@keyframes hologramPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* 3D Stage Badges & Controls Header */
.hero-3d-header {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #00F0FF;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.stage-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00F0FF;
  box-shadow: 0 0 8px #00F0FF;
  animation: pulseDot 2s infinite;
}

/* AR View in Space Action Button */
.ar-controls-bar {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.ar-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.25), rgba(138, 43, 226, 0.35));
  border: 1px solid rgba(0, 240, 255, 0.45);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ar-trigger-btn:hover {
  color: #3498db !important;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(138, 43, 226, 0.25));
  border-color: rgba(52, 152, 219, 0.45);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.ar-trigger-btn:hover svg {
  color: #3498db !important;
  filter: none !important;
}

.hero-3d-hint {
  font-size: 0.74rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.02em;
}

/* Scrollytelling 2.0 Perspective Animations */
.scrolly-3d-target {
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease;
  transform: translateY(24px) scale(0.975);
  opacity: 0.88;
  will-change: transform, opacity;
}

.scrolly-3d-target.in-perspective-view {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Perspective Tilt Cards */
.perspective-card {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.perspective-card:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(52, 152, 219, 0.2);
}

/* ==========================================================================
   18. COMPREHENSIVE UI/UX MOTION GRAPHICS & 3D VOLUMETRIC EFFECTS
   ========================================================================== */

/* 18.1 Universal 3D Perspective Card Container */
.has-3d-depth,
.team-card-v2,
.stat-card,
.case-card,
.blog-card,
.feature-box,
.testimonial-card,
.comparison-card,
.accordion-preview-card,
.cta-banner-box,
.hero-award-badge,
.sidebar-meta-item {
  transform-style: preserve-3d;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease,
              background 0.35s ease;
  will-change: transform, box-shadow;
}

/* Mouse-following Radial Spotlight Shader */
.stat-card,
.case-card,
.blog-card,
.feature-box,
.testimonial-card,
.comparison-card,
.cta-banner-box {
  background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(52, 152, 219, 0.14), transparent 45%), var(--color-surface) !important;
}

.stat-card:hover,
.case-card:hover,
.blog-card:hover,
.feature-box:hover,
.testimonial-card:hover,
.comparison-card:hover {
  border-color: rgba(0, 240, 255, 0.45) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55),
              0 0 25px rgba(52, 152, 219, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* 18.2 Multi-Layer Stereoscopic Depth Projection */
.stat-card .stat-number,
.case-card-thumb,
.case-card-badge,
.blog-card img,
.feature-box h3,
.hero-award-badge img {
  transform: translateZ(26px);
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card-title,
.blog-card-title,
.stat-label,
.feature-box p {
  transform: translateZ(16px);
  transform-style: preserve-3d;
}

.case-card .btn,
.blog-card .btn,
.feature-box .btn {
  transform: translateZ(32px);
  transform-style: preserve-3d;
}

/* 18.3 Asset Imagery Floating Levitation & Shimmer */
.hero-award-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  position: relative;
  overflow: hidden;
  animation: badgeFloat 4.5s ease-in-out infinite alternate;
}

.hero-award-badge:nth-child(2) {
  animation-delay: -2.25s;
}

@keyframes badgeFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(0.8deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Holographic Sheen Sweep across Badges */
.hero-award-badge::after,
.roi-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    rgba(0, 240, 255, 0.25),
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.hero-award-badge:hover::after,
.roi-badge:hover::after {
  opacity: 1;
  animation: sheenSweep 1.2s ease forwards;
}

@keyframes sheenSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Thumbnail Image Zoom with Chromatic Bloom */
.case-card-thumb img,
.blog-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  will-change: transform, filter;
}

.case-card:hover .case-card-thumb img,
.blog-card:hover img {
  transform: scale(1.06) translateZ(28px);
  filter: brightness(1.08) contrast(1.04);
}

/* 18.4 High-Impact Callout Neon Border Beam */
.cta-banner-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(138, 43, 226, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(138, 43, 226, 0.25);
}

.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(52, 152, 219, 0.4),
    rgba(138, 43, 226, 0.6),
    rgba(0, 240, 255, 0.7),
    transparent 45%
  );
  animation: borderBeamRotate 8s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.cta-banner-box > * {
  position: relative;
  z-index: 1;
}

@keyframes borderBeamRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 18.5 Button Micro-Interactions & Ambient Aura */
.btn {
  will-change: transform;
}


/* 18.6 Scroll-Triggered Kinetic Entry System */
.reveal-init {
  opacity: 0;
  transform: translateY(28px) scale(0.975);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s ease;
  will-change: transform, opacity, filter;
}

.reveal-init.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Staggered Delay Helpers for Grids */
.cases-grid > *:nth-child(1),
.stats-grid > *:nth-child(1),
.testimonials-grid > *:nth-child(1),
.blog-grid > *:nth-child(1),
.feature-grid-3 > *:nth-child(1),
.feature-grid-2 > *:nth-child(1) {
  transition-delay: 0.04s;
}

.cases-grid > *:nth-child(2),
.stats-grid > *:nth-child(2),
.testimonials-grid > *:nth-child(2),
.blog-grid > *:nth-child(2),
.feature-grid-3 > *:nth-child(2),
.feature-grid-2 > *:nth-child(2) {
  transition-delay: 0.12s;
}

.cases-grid > *:nth-child(3),
.stats-grid > *:nth-child(3),
.testimonials-grid > *:nth-child(3),
.blog-grid > *:nth-child(3),
.feature-grid-3 > *:nth-child(3) {
  transition-delay: 0.20s;
}

.cases-grid > *:nth-child(4),
.stats-grid > *:nth-child(4),
.testimonials-grid > *:nth-child(4),
.blog-grid > *:nth-child(4) {
  transition-delay: 0.28s;
}

/* 18.7 Marquee Ticker Kinetic Glowing Star */
.ticker-item .star {
  display: inline-block;
  color: #00F0FF;
  margin: 0 1.2rem;
  filter: drop-shadow(0 0 6px #00F0FF);
  animation: starPulse 2.5s ease-in-out infinite alternate;
}

@keyframes starPulse {
  0% { transform: scale(0.9) rotate(0deg); opacity: 0.7; }
  100% { transform: scale(1.25) rotate(90deg); opacity: 1; }
}

/* 18.8 8-Pillar Accordion Active Glowing Kinetic State */
.accordion-item {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-item.is-active {
  border-color: rgba(0, 240, 255, 0.5);
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, rgba(138, 43, 226, 0.06) 100%), var(--color-surface);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.15);
}

.accordion-item .accordion-icon {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s;
}

.accordion-item.is-active .accordion-icon {
  transform: rotate(90deg) scale(1.15);
  color: #00F0FF;
  filter: drop-shadow(0 0 8px #00F0FF);
}

/* ==========================================================================
   19. SMOKE CANVAS & UNIVERSAL CENTER ALIGNMENT ARCHITECTURE
   ========================================================================== */

/* Ensure all content sits cleanly above background 3D canvas */
main, .site-footer, .hero-section {
  position: relative;
  z-index: 1;
}

/* Universal Center Alignment: Hero Section */
.hero-section {
  text-align: center;
}

.hero-grid-center,
.hero-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title-main {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 920px;
}

.hero-desc {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 820px !important;
}

.hero-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-awards-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.roi-badge {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Universal Center Alignment: Section Headers & Titles */
.section-header {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.section-title {
  text-align: center !important;
}

.section-desc {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 760px;
}

.case-studies-header {
  justify-content: center !important;
  text-align: center !important;
}

.case-studies-title-wrap {
  justify-content: center !important;
}

/* Universal Center Alignment: Page Heroes (Subpages) */
.page-hero {
  text-align: center !important;
}

.page-hero-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 920px;
}

.page-hero-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-hero-desc {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 800px;
}

.page-hero-actions {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.breadcrumbs {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Universal Center Alignment: CTA Banners */
.cta-banner-box {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.cta-banner-box h2,
.cta-banner-box p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cta-banner-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* ==========================================================================
   20. INTERACTIVE CASE STUDIES SLIDER (RIGHT-TO-LEFT GLIDE & DRAG ENGINE)
   ========================================================================== */
.case-studies-fullwidth-section {
  position: relative;
  overflow: hidden;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Stacking Context Elevation for Slider Controls & Desktop 3D Hit-Target Isolation */
#case-studies,
.case-studies-fullwidth-section {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 110px;
}

#case-studies > .container,
#case-studies .section-header-center,
.case-studies-fullwidth-section > .container,
.case-studies-fullwidth-section .section-header-center {
  position: relative !important;
  z-index: 100 !important;
  transform: translate3d(0, 0, 50px);
  pointer-events: auto !important;
}

#case-studies .case-slider-actions,
.case-studies-fullwidth-section .case-slider-actions {
  position: relative !important;
  z-index: 110 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto !important;
}

#case-studies .case-nav-btn,
#case-studies .case-prev-btn,
#case-studies .case-next-btn,
.case-studies-fullwidth-section .case-nav-btn,
.case-studies-fullwidth-section .case-prev-btn,
.case-studies-fullwidth-section .case-next-btn {
  position: relative !important;
  z-index: 120 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none;
  touch-action: manipulation;
  transform: translateZ(60px);
}

#case-studies .case-nav-btn svg,
#case-studies .case-nav-btn svg *,
.case-studies-fullwidth-section .case-nav-btn svg,
.case-studies-fullwidth-section .case-nav-btn svg * {
  pointer-events: none !important;
}

#case-studies .case-slider-container,
.case-studies-fullwidth-section .case-slider-container {
  position: relative;
  z-index: 1;
}

.case-slider-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  padding: 1rem 0 2.5rem 0;
}

.case-slider-actions {
  position: relative;
  z-index: 30;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.case-nav-btn {
  position: relative;
  z-index: 30;
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 4px 16px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.case-nav-btn svg,
.case-nav-btn svg polyline,
.case-nav-btn svg path {
  pointer-events: none !important;
}

.case-nav-btn::after {
  content: "";
  position: absolute;
  inset: -1.2px;
  border-radius: 50%;
  padding: 1.2px;
  background: conic-gradient(from var(--edge-angle, 0deg), transparent 0deg, #38bdf8 120deg, #8A2BE2 200deg, transparent 280deg, transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  animation: edge-rotate 3.5s linear infinite;
  opacity: 0.75;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.5));
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.case-nav-btn:hover {
  color: #3498db !important;
  border-color: rgba(52, 152, 219, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 0 20px rgba(52, 152, 219, 0.55);
}

.case-nav-btn:hover svg {
  stroke: #3498db !important;
}

.case-nav-btn:hover::after {
  opacity: 0.95;
  filter: none !important;
}

.case-nav-btn:active {
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 12px rgba(52, 152, 219, 0.4);
  transform: translateZ(60px) scale(0.96) !important;
}

.case-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  padding: 15px 0 25px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
}

.case-slider-viewport:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.case-slider-track {
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
  transition: none;
  padding: 0 1rem;
}

.case-slider-track.is-dragging {
  cursor: grabbing;
}

.case-slider-track .case-card {
  flex: 0 0 420px;
  width: 420px;
  max-width: 420px;
  margin: 0;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  pointer-events: auto;
}

.case-slider-track .case-card-body {
  position: relative;
  z-index: 10;
}

/* Ensure the CTA button wrapper and link have direct hit priority */
.case-card-body div:has(> .btn-primary),
.case-card-body > div:last-child,
.case-card-body .btn-primary,
.case-card .btn-primary {
  position: relative;
  z-index: 50;
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none;
  touch-action: manipulation;
}

/* Ensure focus text particle/ripple layers do not intercept the lower action row */
.focus-text-particles,
.focus-text-ripple {
  pointer-events: none !important;
}

.case-slider-track .case-card img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.case-slider-indicators {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.case-slider-progress {
  width: min(280px, 60%);
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.case-slider-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
  transition: width 0.2s ease-out;
}

.case-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.case-slider-dot:hover {
  border-color: var(--color-primary);
  background: rgba(52, 152, 219, 0.5);
  transform: scale(1.2);
}

.case-slider-dot.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  width: 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

@media (max-width: 1024px) {
  .case-slider-track .case-card {
    flex: 0 0 360px;
    width: 360px;
    max-width: 360px;
  }
}

@media (max-width: 680px) {
  .case-slider-track .case-card {
    flex: 0 0 clamp(290px, 86vw, 340px);
    width: clamp(290px, 86vw, 340px);
    max-width: clamp(290px, 86vw, 340px);
  }
  .case-slider-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ==========================================================================
   21. THREE.JS INTERACTIVE PARTICLE HERO & LUMINOUS GLOW EFFECTS
   ========================================================================== */
.hero-section {
  position: relative !important;
  overflow: hidden !important;
}

#hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

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

.text-shadow-glow {
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 40px rgba(138, 43, 226, 0.3);
}

.hero-button-glow {
  box-shadow: 0 0 25px rgba(52, 152, 219, 0.4), 0 0 45px rgba(138, 43, 226, 0.25);
  transition: all var(--transition-base);
}

.hero-button-glow:hover {
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.7), 0 0 60px rgba(138, 43, 226, 0.5);
}

/* ==========================================================================
   22. INTERACTIVE EXPANDING BENTO CARDS SHOWCASE (WHAT WE DO)
   ========================================================================== */
.what-we-do-section {
  position: relative;
  background: var(--color-bg);
  padding: 5rem 0;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

.what-we-do-section .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 clamp(1.25rem, 3.5vw, 4rem) !important;
}

.what-we-do-section .section-header-center {
  max-width: 860px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
}

.bento-card-container {
  position: relative;
  height: clamp(520px, 42vw, 600px);
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.bento-card-container:hover {
  border-color: rgba(138, 43, 226, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(138, 43, 226, 0.2);
}

.bento-card-container .bento-card {
  position: absolute !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  color: #ffffff !important;
  z-index: 1 !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  border-radius: 18px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
  cursor: pointer !important;
  padding: 0 !important;
  will-change: width, height, top, left, right, bottom;
}

/* Base Bento Positions within Container */
.bento-card-container .bento-card-top {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  width: 100% !important;
  height: calc(55% - 6px) !important;
}

.bento-card-container .bento-card-left {
  top: calc(55% + 6px) !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: calc(48% - 6px) !important;
  height: calc(45% - 6px) !important;
}

.bento-card-container .bento-card-right {
  top: calc(55% + 6px) !important;
  left: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  width: calc(52% - 6px) !important;
  height: calc(45% - 6px) !important;
}

/* Hover & Active Expanded States (Full Container Expansion) */
.bento-card-container .bento-card:hover,
.bento-card-container .bento-card.is-active {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
  border-color: rgba(52, 152, 219, 0.6) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(52, 152, 219, 0.3) !important;
}

/* Card Dark Overlay - Calibrated So Background Imagery Shines Through */
.bento-card-container .bento-card-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.15) 0%, rgba(6, 10, 20, 0.45) 40%, rgba(6, 10, 20, 0.90) 100%) !important;
  transition: background 0.4s ease !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.bento-card-container .bento-card:hover .bento-card-overlay,
.bento-card-container .bento-card.is-active .bento-card-overlay {
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.25) 0%, rgba(6, 10, 20, 0.65) 45%, rgba(6, 10, 20, 0.94) 100%) !important;
}

.bento-card-container .bento-card-content {
  position: relative !important;
  z-index: 2 !important;
  padding: 1.5rem !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  transition: padding 0.35s ease !important;
}

.bento-card-container .bento-card:hover .bento-card-content,
.bento-card-container .bento-card.is-active .bento-card-content {
  padding: 2.25rem !important;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(0, 240, 255, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(0, 240, 255, 0.3);
  margin-bottom: 0.6rem;
  backdrop-filter: blur(8px);
}

.badge-purple {
  background: rgba(138, 43, 226, 0.15);
  color: #b366ff;
  border-color: rgba(138, 43, 226, 0.35);
}

.badge-green {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.35);
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  transition: color var(--transition-fast);
}

.bento-card-container .bento-card:hover .bento-title,
.bento-card-container .bento-card.is-active .bento-title {
  color: var(--color-primary);
}

/* Bullet Points Container (Explains in short bullet points what we do) */
.bento-bullets {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  margin-top: 0.85rem !important;
  opacity: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transform: translateY(10px) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bento-card-container .bento-card:hover .bento-bullets,
.bento-card-container .bento-card.is-active .bento-bullets {
  opacity: 1 !important;
  max-height: 350px !important;
  transform: translateY(0) !important;
}

.bento-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.bento-bullet-item .bullet-icon {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-top: 2px;
}

.bento-bullet-item strong {
  color: #ffffff;
  font-weight: 700;
}

/* Mobile & Tablet Responsive Media Queries */
@media (max-width: 1024px) {
  .what-we-do-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .bento-card-container {
    height: 520px !important;
  }
}

@media (max-width: 640px) {
  .bento-card-container {
    height: 500px !important;
    border-radius: 16px !important;
  }

  .bento-card-container .bento-card-left {
    width: calc(48% - 4px) !important;
  }

  .bento-card-container .bento-card-right {
    width: calc(52% - 4px) !important;
  }

  .bento-title {
    font-size: 1.15rem;
  }

  .bento-bullet-item {
    font-size: 0.8rem;
    gap: 0.45rem;
  }

  .bento-card-container .bento-card:hover .bento-card-content,
  .bento-card-container .bento-card.is-active .bento-card-content {
    padding: 1.25rem !important;
  }
}

/* ==========================================================================
   KIVI UI FOCUS TEXT COMPONENT (H1 HERO HEADINGS)
   Dynamic Color Swapping, 3D Perspective Flip, Optical Blur, Particles & Ripple
   Shared Intrinsic Footprint Architecture (Zero-CLS & Proportional Sizing)
   ========================================================================== */

.focus-text {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  position: relative;
  perspective: 800px;
  -webkit-perspective: 800px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin: 0.12em 0.25em;
  padding: 0;
  line-height: normal;
  box-sizing: border-box;
}

/* Static fallback before JS initialization */
.focus-text:not(:has(.focus-text-badge)) {
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.16em 0.55em;
  border-radius: 0.28em;
  background: linear-gradient(135deg, #3498db 0%, #8A2BE2 100%);
  color: #ffffff !important;
  box-shadow: 0 0 25px rgba(52, 152, 219, 0.45), 0 0 35px rgba(138, 43, 226, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.focus-text-badge {
  position: relative;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  padding: 0.16em 0.55em;
  border-radius: 0.28em;
  background: var(--focus-bg, linear-gradient(135deg, #3498db 0%, #8A2BE2 100%));
  color: var(--focus-text-color, #ffffff) !important;
  box-shadow: var(--focus-glow, 0 0 25px rgba(52, 152, 219, 0.45), 0 0 35px rgba(138, 43, 226, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-sizing: border-box;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
                      background 0.4s ease,
                      box-shadow 0.4s ease,
                      opacity 0.24s ease;
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.4s ease,
              box-shadow 0.4s ease,
              opacity 0.24s ease;
  letter-spacing: -0.01em;
  line-height: inherit;
  will-change: transform, filter, box-shadow;
}

.focus-text-badge.is-animating {
  transform: scale(0.95) rotateY(5deg) rotateX(-2deg);
  opacity: 0.88;
}

.focus-text-word-wrap {
  position: relative;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  perspective: 600px;
  -webkit-perspective: 600px;
}

.focus-text-word {
  display: inline-block;
  transform-style: preserve-3d;
  filter: blur(0px);
  transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
  opacity: 1;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  will-change: transform, opacity, filter;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  text-align: center;
}

@keyframes focus-word-exit {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: translateY(-24px) scale(0.82) rotateX(90deg) rotateY(-15deg);
    filter: blur(3px);
  }
}

@keyframes focus-word-enter {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.82) rotateX(-90deg) rotateY(15deg);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg) rotateY(0deg);
    filter: blur(0px);
  }
}

.focus-text-ripple {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--focus-ripple, #3498db);
  opacity: 0;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center;
}

.focus-text-ripple.animate-ripple {
  animation: focus-ripple-burst 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes focus-ripple-burst {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.32);
    opacity: 0;
  }
}

.focus-text-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.focus-text-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--focus-particle, #3498db);
  pointer-events: none;
  left: 50%;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

.focus-text-particle.animate-particle {
  animation: focus-particle-fly 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes focus-particle-fly {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.4);
  }
  60% {
    opacity: 0.85;
    transform: translate(calc(-50% + var(--p-tx, 0px)), calc(-50% + var(--p-ty, 0px))) scale(1.4);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--p-tx, 0px)), calc(-50% + var(--p-ty, 0px))) scale(0.5);
  }
}

/* Reduced Motion Safety */
@media (prefers-reduced-motion: reduce) {
  .focus-text-badge,
  .focus-text-word {
    transition: opacity 0.3s ease !important;
    transform: none !important;
    filter: none !important;
  }
  .focus-text-ripple,
  .focus-text-particles {
    display: none !important;
  }
}

/* Mobile Responsive Wrap & Heading Scaling (320px - 480px) */
@media (max-width: 480px) {
  .focus-text {
    display: inline-flex;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    margin: 0.12em auto;
    vertical-align: middle;
  }
  .focus-text-badge {
    display: inline-flex;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    padding: 0.14em 0.45em;
    text-align: center;
    box-sizing: border-box;
  }
  .focus-text-word-wrap {
    display: inline-flex;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
  .focus-text-word {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: center;
  }
  .ad-hero-title,
  .page-hero-title,
  .hero-title-main {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem) !important;
    line-height: 1.2 !important;
    word-break: break-word;
  }
}

/* ==========================================================================
   8.0 STYLOSHEET MODERN SCROLL ANIMATIONS & MOTION ENGINE
   Inspired by Stylosheet (https://www.stylosheet.com/left-to-right-scroll-animation/
   and https://stylosheet.com/scroll-animation/)
   High-performance, GPU-accelerated motion components with staggered cascades.
   ========================================================================== */

/* Base Stylosheet scroll element: starts hidden and offset to the left */
.ss-scroll {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--ss-delay, 0s);
  will-change: opacity, transform;
}

/* Slide from left (left-to-right scroll animation) */
.ss-scroll.slide-left {
  opacity: 0;
  transform: translateX(-40px);
}

.ss-scroll.slide-left.is-visible,
.ss-scroll.slide-left.is-active,
.ss-scroll.is-visible,
.ss-scroll.is-active {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.ss-scroll.slide-right {
  opacity: 0;
  transform: translateX(40px);
}
.ss-scroll.slide-right.is-visible,
.ss-scroll.slide-right.is-active {
  opacity: 1;
  transform: translateX(0);
}

/* Slide up */
.ss-scroll.slide-up {
  opacity: 0;
  transform: translateY(40px);
}
.ss-scroll.slide-up.is-visible,
.ss-scroll.slide-up.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* Scale in emphasis */
.ss-scroll.scale-in {
  opacity: 0;
  transform: scale(0.92);
}
.ss-scroll.scale-in.is-visible,
.ss-scroll.scale-in.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Opacity sweep fade */
.ss-scroll.fade-in {
  opacity: 0;
  transform: none;
}
.ss-scroll.fade-in.is-visible,
.ss-scroll.fade-in.is-active {
  opacity: 1;
  transform: none;
}

/* Stagger Utilities */
.ss-stagger-1 { transition-delay: 0.08s !important; }
.ss-stagger-2 { transition-delay: 0.16s !important; }
.ss-stagger-3 { transition-delay: 0.24s !important; }
.ss-stagger-4 { transition-delay: 0.32s !important; }
.ss-stagger-5 { transition-delay: 0.40s !important; }
.ss-stagger-6 { transition-delay: 0.48s !important; }
.ss-stagger-7 { transition-delay: 0.56s !important; }
.ss-stagger-8 { transition-delay: 0.64s !important; }
.ss-stagger-9 { transition-delay: 0.72s !important; }

/* Subpage Card Elevation & Interaction on Hover */
.feature-box.ss-scroll,
.tool-card.ss-scroll,
.case-card.ss-scroll,
.blog-card.ss-scroll,
.faq-item.ss-scroll,
.methodology-card.ss-scroll,
.tech-card.ss-scroll {
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              border-color var(--transition-base),
              box-shadow var(--transition-base),
              background-color var(--transition-base);
  transition-delay: var(--ss-delay, 0s);
}

.feature-box.ss-scroll.is-visible:hover,
.tool-card.ss-scroll.is-visible:hover,
.case-card.ss-scroll.is-visible:hover,
.blog-card.ss-scroll.is-visible:hover,
.methodology-card.ss-scroll.is-visible:hover,
.tech-card.ss-scroll.is-visible:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 240, 255, 0.15);
}

/* Conflict resolution with legacy reveal-init */
.ss-scroll.reveal-init {
  filter: none !important;
}
.ss-scroll.reveal-init.is-visible,
.ss-scroll.reveal-init.is-revealed {
  filter: none !important;
  transform: translateX(0) !important;
}

/* Fresh Content Component: 4-Stage Execution Methodology & Tech Stack */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.methodology-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-base);
}

.methodology-card .step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.methodology-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.methodology-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.methodology-deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.methodology-deliverables li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 0.45rem;
}

.methodology-deliverables li svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* Tech Stack Grid */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tech-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-base);
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.tech-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(138, 43, 226, 0.15) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.tech-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.tech-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tech-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

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

@media (max-width: 640px) {
  .methodology-grid {
    grid-template-columns: 1fr;
  }
  .tech-stack-grid {
    grid-template-columns: 1fr;
  }
}

/* Accessible Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .ss-scroll,
  .ss-scroll.slide-left,
  .ss-scroll.slide-right,
  .ss-scroll.slide-up,
  .ss-scroll.scale-in,
  .ss-scroll.fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   20. DIGITAL MARKETING DEDICATED SUITE & REVOLUTION UI
   ========================================================================== */

/* Running Marquee Tickers */
.dm-marquee-bar {
  background: var(--procus-base, #8A2BE2);
  color: #ffffff;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.35);
}
.dm-marquee-inner {
  display: inline-flex;
  animation: dm-marquee-slide 32s linear infinite;
  gap: 2rem;
}
.dm-marquee-inner:hover {
  animation-play-state: paused;
}
.dm-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}
.dm-marquee-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}
@keyframes dm-marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 4-Stat Hero Grid */
.dm-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 2.5rem auto 0;
}
.dm-stat-box {
  background: rgba(18, 18, 26, 0.75);
  border: 1px solid rgba(138, 43, 226, 0.25);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.dm-stat-box:hover {
  transform: translateY(-4px);
  border-color: #3498db;
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.2);
}
.dm-stat-val {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.dm-stat-val span {
  color: #3498db;
}
.dm-stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .dm-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Video Preview Cards */
.dm-video-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(138, 43, 226, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #0d0d12;
}
.dm-video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease;
}
.dm-video-card:hover::before {
  background: rgba(0, 0, 0, 0.15);
}
.dm-play-btn {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #8A2BE2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7);
  animation: dm-pulse 2s infinite;
  transition: transform 0.3s ease;
  text-decoration: none;
}
.dm-play-btn svg {
  margin-left: 4px;
}
.dm-video-card:hover .dm-play-btn {
  transform: scale(1.12);
  background: #3498db;
}
@keyframes dm-pulse {
  0% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7); }
  70% { box-shadow: 0 0 0 22px rgba(138, 43, 226, 0); }
  100% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0); }
}

/* Ecosystem Wheel Banner */
.dm-wheel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(138, 43, 226, 0.4);
  box-shadow: 0 16px 50px rgba(138, 43, 226, 0.2);
}
.dm-wheel-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Partner Logos Row */
.dm-partners-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3.5rem;
}
.dm-partner-logo {
  height: 36px;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0.85) grayscale(20%);
  transition: all 0.3s ease;
}
.dm-partner-logo:hover {
  filter: brightness(1.15) grayscale(0%);
  transform: translateY(-3px);
}

/* Essential Section Tabs */
.dm-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.dm-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dm-tab-btn:hover, .dm-tab-btn.is-active {
  background: var(--procus-base, #8A2BE2);
  border-color: var(--procus-base, #8A2BE2);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}
.dm-tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(18, 18, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 3rem);
}
.dm-tab-panel.is-active {
  display: grid;
  animation: dm-fade-in 0.4s ease;
}
@keyframes dm-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dm-tab-img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  object-fit: cover;
  max-height: 380px;
}
@media (max-width: 768px) {
  .dm-tab-panel {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Comprehensive 6-Service Purple Cards Grid */
.dm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1024px) {
  .dm-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .dm-services-grid {
    grid-template-columns: 1fr;
  }
}
.dm-service-card {
  background: rgba(15, 15, 22, 0.9);
  border: 1.5px solid #8A2BE2;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(138, 43, 226, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.dm-service-card:hover {
  transform: translateY(-6px);
  border-color: #3498db;
  box-shadow: 0 16px 40px rgba(52, 152, 219, 0.25), inset 0 0 20px rgba(138, 43, 226, 0.15);
}
.dm-service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1.5rem;
  object-fit: contain;
}
.dm-service-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}
.dm-service-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
.dm-service-btn {
  align-self: flex-start;
  background: transparent;
  border: 1px solid #3498db;
  color: #3498db;
  padding: 9px 24px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.dm-service-btn:hover {
  background: #3498db;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Story Revolution Cards */
.dm-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) {
  .dm-story-grid {
    grid-template-columns: 1fr;
  }
}
.dm-story-card {
  background: linear-gradient(145deg, rgba(24, 24, 34, 0.95), rgba(15, 15, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.dm-story-card:hover {
  transform: translateY(-4px);
  border-color: #8A2BE2;
}
.dm-story-badge {
  display: inline-block;
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid rgba(138, 43, 226, 0.4);
  color: #c084fc;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

/* Why Choose 3 Pillar Cards */
.dm-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) {
  .dm-why-grid {
    grid-template-columns: 1fr;
  }
}
.dm-why-card {
  background: rgba(18, 18, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}
.dm-why-card:hover {
  transform: translateY(-5px);
  border-color: #3498db;
  box-shadow: 0 12px 35px rgba(52, 152, 219, 0.2);
}
.dm-why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}

/* Case Studies Showcase Grid */
.dm-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 800px) {
  .dm-case-grid {
    grid-template-columns: 1fr;
  }
}
.dm-case-card {
  background: rgba(16, 16, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.dm-case-card:hover {
  transform: translateY(-6px);
  border-color: #8A2BE2;
  box-shadow: 0 16px 40px rgba(138, 43, 226, 0.25);
}
.dm-case-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dm-case-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Testimonial Cards Grid */
.dm-testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1100px) {
  .dm-testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .dm-testi-grid {
    grid-template-columns: 1fr;
  }
}
.dm-testi-card {
  background: rgba(18, 18, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}
.dm-testi-card:hover {
  transform: translateY(-4px);
  border-color: #8A2BE2;
}
.dm-testi-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.dm-testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #8A2BE2;
}

/* FAQ Accordions & Mutually Exclusive Details */
.dm-faq-item,
.faq-item {
  background: rgba(18, 18, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.dm-faq-item:hover,
.faq-item:hover {
  border-color: rgba(52, 152, 219, 0.4);
  background: rgba(24, 20, 32, 0.8);
  transform: translateY(-2px);
}
.dm-faq-item[open],
.faq-item[open] {
  border-color: rgba(52, 152, 219, 0.6);
  background: rgba(24, 20, 32, 0.92);
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.16);
}
.dm-faq-summary,
.faq-question {
  padding: 1.35rem 1.75rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  transition: color 0.25s ease;
}
.dm-faq-summary:hover,
.faq-question:hover {
  color: var(--color-primary, #3498db);
}
.dm-faq-item[open] .dm-faq-summary,
.faq-item[open] .faq-question,
.dm-faq-item[open] .dm-faq-summary span,
.faq-item[open] .faq-question span {
  color: var(--color-primary, #3498db) !important;
}
.dm-faq-summary::-webkit-details-marker,
.faq-question::-webkit-details-marker {
  display: none;
}
.dm-faq-summary::after,
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 700;
  color: #3498db;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
  line-height: 1;
}
.dm-faq-item[open] .dm-faq-summary::after,
.faq-item[open] .faq-question::after {
  content: '−';
  color: var(--color-primary, #3498db);
  transform: rotate(180deg);
}
.dm-faq-icon {
  display: none !important;
}
.dm-faq-content,
.faq-answer {
  padding: 0 1.75rem 1.75rem;
  color: #FFFFFF !important;
  font-size: 1rem;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  animation: faqContentFade 0.25s ease;
}
@keyframes faqContentFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.dm-faq-content p,
.faq-answer p {
  color: #FFFFFF !important;
  margin-bottom: 0.75rem;
  line-height: 1.8;
}
.dm-faq-content p:last-child,
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-accordion,
.faq-list {
  max-width: 900px;
  margin: 2.5rem auto 0;
}

/* Double Marquee: Step 2 */
.custom-marquee {
  width: 100%;
  overflow: hidden;
  margin: 3rem 0 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.marquee-container {
  width: 100%;
  overflow: hidden;
}
.marquee .primary-bg {
  background: #8A2BE2;
  padding: 14px 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.35);
}
.marquee .black-bg {
  background: #0ea5e9;
  padding: 14px 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}
.marquee-content {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  white-space: nowrap;
}
.marquee-row-1 {
  animation: dm-marquee-left 32s linear infinite;
}
.marquee-row-2 {
  animation: dm-marquee-right 32s linear infinite;
}
.custom-marquee:hover .marquee-row-1,
.custom-marquee:hover .marquee-row-2 {
  animation-play-state: paused;
}
@keyframes dm-marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes dm-marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.marquee-content span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #FFFFFF;
  text-transform: none;
}
.marquee-content span .ri-gemini-fill {
  font-style: normal;
  font-size: 1.1rem;
  color: #FFFFFF;
}

/* Full Width Brand Logo Slider: Step 3 */
.dm-brand-slider-section {
  width: 100%;
  overflow: hidden;
  padding: 2.5rem 0;
  background: rgba(12, 12, 18, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.dm-brand-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: dm-brand-slide-left 38s linear infinite;
}
.dm-brand-slider-section:hover .dm-brand-track {
  animation-play-state: paused;
}
@keyframes dm-brand-slide-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.dm-brand-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.dm-brand-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #8A2BE2;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(138, 43, 226, 0.2);
}
.dm-brand-img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0.95);
  transition: filter 0.3s ease;
}
.dm-brand-item:hover .dm-brand-img {
  filter: brightness(1.1);
}

/* ==========================================================================
   MODERN UI/UX BENTO GRIDS, TABS & INTERACTIVE VISUAL SHOWCASE
   ========================================================================== */

/* Bento Grid System */
.bento-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.bento-container .bento-card {
  background: var(--color-surface, #121826);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.bento-container .bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 43, 226, 0.4);
  box-shadow: 0 20px 45px rgba(138, 43, 226, 0.18);
}

.bento-container .bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.6), rgba(52, 152, 219, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-container .bento-card:hover::before {
  opacity: 1;
}

.bento-col-12 { grid-column: span 12; }
.bento-col-8 { grid-column: span 8; }
.bento-col-6 { grid-column: span 6; }
.bento-col-4 { grid-column: span 4; }

.bento-media {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b0f19;
}

.bento-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.bento-card:hover .bento-media img {
  transform: scale(1.03);
}

.bento-media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.4) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(138, 43, 226, 0.18);
  border: 1px solid rgba(138, 43, 226, 0.35);
  color: #c084fc;
}

.bento-badge-success {
  background: rgba(46, 204, 113, 0.15);
  border-color: rgba(46, 204, 113, 0.35);
  color: #2ecc71;
}

.bento-badge-blue {
  background: rgba(52, 152, 219, 0.15);
  border-color: rgba(52, 152, 219, 0.35);
  color: #60a5fa;
}

/* Interactive Tabs System */
.moat-tabs-wrapper {
  margin: 2.5rem 0;
}

.moat-tab-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.moat-tab-nav::-webkit-scrollbar { display: none; }

.moat-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 18px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.moat-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.moat-tab-btn.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.35) 0%, rgba(52, 152, 219, 0.25) 100%);
  border-color: #8A2BE2;
  box-shadow: 0 4px 16px rgba(138, 43, 226, 0.25);
}

.moat-tab-content {
  margin-top: 1.5rem;
}

.moat-tab-pane {
  display: none;
  animation: moatFadeIn 0.35s ease;
}

.moat-tab-pane.active {
  display: block;
}

@keyframes moatFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Visual Showcase with Floating Badges */
.hero-visual-showcase {
  position: relative;
  max-width: 960px;
  margin: 2.75rem auto 0 auto;
  border-radius: 20px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.35), rgba(52, 152, 219, 0.2), rgba(255, 255, 255, 0.05));
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.hero-visual-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-visual-inner img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.floating-pill {
  position: absolute;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  animation: floatingBounce 4s ease-in-out infinite alternate;
}

.pill-top-left { top: 20px; left: 20px; }
.pill-bottom-right { bottom: 20px; right: 20px; animation-delay: 2s; }
.pill-bottom-left { bottom: 20px; left: 20px; animation-delay: 1s; }

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

/* Proof of Concept & UGC Team Cards */
.proof-team-box {
  background: var(--color-surface, #121826);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  margin: 3rem 0;
}

.proof-team-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.proof-team-content {
  padding: clamp(2rem, 3.5vw, 3.5rem);
}

/* Mobile Responsiveness for Bento & Showcase */
@media (max-width: 991px) {
  .bento-col-8, .bento-col-6, .bento-col-4 {
    grid-column: span 12;
  }
  .proof-team-box {
    grid-template-columns: 1fr;
  }
  .proof-team-img {
    height: 280px;
    min-height: unset;
  }
}

/* ==========================================================================
   CONTACT FORM & MOBILE UI/UX USABILITY OVERHAUL
   Full-width fields, responsive grid collapse, accessible touch targets (>= 48px),
   high-contrast readable labels, crisp borders, and zero horizontal clipping.
   ========================================================================== */

.contact-grid-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact-form-card {
  background: var(--color-surface, #0f1422);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: var(--radius-lg, 22px);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(138, 43, 226, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.contact-form-card h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.contact-form-card p.contact-form-intro {
  color: var(--color-text-subtle, #94A3B8);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.contact-form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.contact-form-label .req {
  color: #38bdf8;
  margin-left: 3px;
  font-weight: 700;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  display: block;
  box-sizing: border-box;
  min-height: 50px;
  padding: 13px 18px;
  font-size: 1rem; /* 16px prevents iOS auto-zoom */
  line-height: 1.5;
  font-family: inherit;
  color: #FFFFFF;
  background: rgba(15, 20, 34, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm, 8px);
  outline: none;
  transition: border-color var(--transition-fast, 0.2s), box-shadow var(--transition-fast, 0.2s), background var(--transition-fast, 0.2s);
}

.contact-form-select {
  width: 100%;
  display: block;
  box-sizing: border-box;
  min-height: 50px;
  padding: 13px 48px 13px 18px;
  font-size: 1rem; /* 16px prevents iOS auto-zoom */
  line-height: 1.5;
  font-family: inherit;
  color: #FFFFFF;
  background-color: #0b1120;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm, 8px);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color var(--transition-fast, 0.2s), box-shadow var(--transition-fast, 0.2s), background-color var(--transition-fast, 0.2s);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: #94A3B8;
  opacity: 0.9;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3), 0 0 16px rgba(52, 152, 219, 0.25);
  background: rgba(22, 28, 48, 0.95);
}

.contact-form-select:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3), 0 0 16px rgba(52, 152, 219, 0.25);
  background-color: #0f172a;
}

/* Explicit dark theme styling for optgroup and option to prevent OS white-on-white rendering */
.contact-form-select optgroup {
  background-color: #0b1120;
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 10px;
}

.contact-form-select option {
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 14px;
}

.contact-form-select option:checked,
.contact-form-select option:hover {
  background-color: #1e293b;
  color: #38bdf8;
}

.contact-form-textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form-submit {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-sidebar-card {
  background: var(--color-surface, #0f1422);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 14px);
  padding: 2.25rem;
  box-sizing: border-box;
  width: 100%;
}

.contact-sidebar-card-muted {
  background: var(--color-surface, #0f1422);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md, 14px);
  padding: 2.25rem;
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 991px) {
  .contact-grid-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .contact-form-card {
    padding: 1.5rem 1.15rem;
  }
}

/* ==========================================================================
   26. MOTION SHIMMER ARCHITECTURE (CALIBRATED DARK CONTRAST & ZERO CLS)
   Compositor Thread Sweep | Zero Main-Thread Blocking | Background Sweep
   ========================================================================== */

:root {
  /* Motion Dark-Theme Contrast Calibration:
     Base Tone: rgba(255, 255, 255, 0.06)
     Center Crest Highlight: rgba(255, 255, 255, 0.14) */
  --bone-base: rgba(255, 255, 255, 0.06);
  --bone-highlight: rgba(255, 255, 255, 0.14);
  --shimmer-gradient: linear-gradient(
    90deg,
    var(--bone-base) 25%,
    var(--bone-highlight) 50%,
    var(--bone-base) 75%
  );
  --shimmer-duration: 1.5s;
  --shimmer-radius: 6px;
  --border: rgba(255, 255, 255, 0.1);
  --layer: #0f1422;
}

/* Accessible Screen-Reader Utility */
.shimmer-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Core Hardware-Accelerated Shimmer Wave Keyframes */
@keyframes motion-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* View Transitions Wipe Specifier */
@property --wipe {
  syntax: '<percentage>';
  inherits: true;
  initial-value: -100%;
}

::view-transition-group(skeleton-card) {
  border-radius: 16px;
  overflow: hidden;
}

::view-transition-image-pair(skeleton-card) {
  mix-blend-mode: normal;
}

::view-transition-old(skeleton-card) {
  z-index: 2;
  mask-image: linear-gradient(to right, black var(--wipe), transparent calc(var(--wipe) + 100%));
  -webkit-mask-image: linear-gradient(to right, black var(--wipe), transparent calc(var(--wipe) + 100%));
}

/* Core Shimmer Primitives: Bone (Fixed Box) & Shimmer (Intrinsic Sizer) */
.bone {
  display: block;
  background: var(--shimmer-gradient);
  background-size: 200% 100%;
  animation: motion-shimmer var(--shimmer-duration) ease-in-out infinite;
  will-change: background-position;
  flex-shrink: 0;
  border-radius: var(--bone-radius, 6px);
  contain: paint layout;
  pointer-events: none;
  user-select: none;
  box-sizing: border-box;
}

.shimmer {
  display: block;
  background: var(--shimmer-gradient);
  background-size: 200% 100%;
  animation: motion-shimmer var(--shimmer-duration) ease-in-out infinite;
  will-change: background-position;
  border-radius: var(--shimmer-radius, 6px);
  overflow: hidden;
  contain: paint layout;
  box-sizing: border-box;
}

.shimmer-sizer {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Backward-compatible alias for existing layout elements */
.moat-skeleton {
  display: block;
  background: var(--shimmer-gradient);
  background-size: 200% 100%;
  animation: motion-shimmer var(--shimmer-duration) ease-in-out infinite;
  will-change: background-position;
  border-radius: var(--shimmer-radius, 6px);
  contain: paint layout;
  pointer-events: none;
  user-select: none;
}

/* Component Geometries (Zero-CLS Mappings) */
.bone-avatar {
  inline-size: 2.75rem;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
}

.bone-media {
  inline-size: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

/* Motion Profile Card & Skeleton Card Patterns */
.profile-card,
.skeleton-card {
  inline-size: 100%;
  max-inline-size: 360px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background-color: var(--layer);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  contain: paint layout;
}

.profile-cover {
  inline-size: 100%;
  block-size: 120px;
  background: linear-gradient(135deg, var(--hue-4, #8a2be2) 0%, var(--hue-3, #00ffff) 100%);
}

.profile-area {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

.profile-avatar-wrap {
  margin-top: -28px;
}

.profile-avatar-ring {
  inline-size: 56px;
  block-size: 56px;
  border-radius: 50%;
  background-color: var(--layer);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar {
  inline-size: 56px;
  block-size: 56px;
  border-radius: 50%;
  background: #f5e725;
  border: 3px solid var(--layer);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.profile-handle {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.2;
}

.profile-bio {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.profile-stats-row {
  display: flex;
  gap: 8px;
}

.profile-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.04);
  flex: 1;
  gap: 2px;
  box-sizing: border-box;
}

.profile-stat-value {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.profile-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.3;
}

.profile-follow-btn {
  inline-size: 100%;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  border: none;
  background: var(--hue-4, #8a2be2);
  color: #ffffff;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.profile-reload-btn {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.profile-reload-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Motion Zero-CLS Blog Card Compound */
.motion-card {
  background: var(--color-surface, #0f1422);
  border: 1px solid var(--color-card-border, rgba(138, 43, 226, 0.18));
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  contain: paint layout;
}

.motion-card-media {
  inline-size: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.motion-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  box-sizing: border-box;
}

.motion-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  inline-size: 100%;
  box-sizing: border-box;
}

/* Transition & Fade States */
.shimmer-fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.shimmer-fade-in {
  animation: shimmer-fade-in 0.4s ease forwards;
}

@keyframes shimmer-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Progressive Image / Media Loader Integration */
.moat-media-loader {
  position: relative;
  overflow: hidden;
  contain: paint layout;
  background-color: var(--bone-base);
}

.moat-media-loader img {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.moat-media-loader.is-loaded img,
.moat-media-loader img.is-loaded {
  opacity: 1;
}

.moat-media-loader.is-loaded .bone,
.moat-media-loader.is-loaded .moat-skeleton {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Accessibility & System Preference Overrides */
[aria-busy="true"] {
  cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
  .shimmer,
  .bone,
  .moat-skeleton {
    animation: none !important;
    background: var(--bone-base) !important;
  }
}

@media (forced-colors: active) {
  .shimmer,
  .bone,
  .moat-skeleton {
    background: GrayText !important;
    forced-color-adjust: none;
    animation: none !important;
  }
}

/* ==========================================================================
   27. STANDARDIZED NON-DESTRUCTIVE IMAGE ASSET SHIMMER FRAMEWORK
   Intrinsic Box-Model Preservation | Zero-CLS (0.00) | GPU Composited (60 FPS)
   ========================================================================== */

/* Hardware-accelerated shimmer wave keyframe */
@keyframes moat-shimmer-wave {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Non-Destructive Pure-CSS Image Shimmer State */
img.moat-shimmer-pending {
  background-color: rgba(255, 255, 255, 0.05) !important;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.05) 75%
  ) !important;
  background-size: 200% 100% !important;
  animation: moat-shimmer-wave 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
  will-change: background-position;
  color: transparent !important;
}

img.moat-shimmer-loaded {
  background-image: none !important;
  background-color: transparent !important;
  animation: none !important;
  transition: opacity 0.2s ease-in;
}

/* Opt-In Dedicated Shimmer Slot Containers (e.g., custom card slots) */
.moat-img-shimmer-wrap {
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--card-radius, 8px);
  contain: paint layout;
  box-sizing: border-box;
}

.moat-shimmer-bone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: moat-shimmer-wave 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: background-position;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Avatar / Circular Presets */
.moat-img-shimmer-wrap.is-avatar {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Container integrations */
.case-card-thumb .moat-img-shimmer-wrap,
.blog-thumb .moat-img-shimmer-wrap,
.stk-card-preview .moat-img-shimmer-wrap {
  border-radius: inherit;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  img.moat-shimmer-pending,
  .moat-shimmer-bone {
    animation: none !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }
}

@media (forced-colors: active) {
  img.moat-shimmer-pending,
  .moat-shimmer-bone {
    background: GrayText !important;
    forced-color-adjust: none;
    animation: none !important;
  }
}

/* ==========================================================================
   16. shadcn blog-3 + 3D Tilt & Mouse-Follow Border Beam Engine
   ========================================================================== */

/* Badges */
.sh-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
}

.sh-badge-primary {
  background: var(--color-primary, #a855f7);
  color: #ffffff;
  border: 1px solid transparent;
}

.sh-badge-secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   BORDER BEAM EFFECT (Mouse-Follow Radial Gradient Mask)
   ========================================================================== */
.interactive-beam-card {
  position: relative;
  background: var(--color-surface, #0d121f);
  border-radius: 16px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Pseudo Border Beam Mask Layer */
.beam-glow-border {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    380px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(168, 85, 247, 0.65) 0%,
    rgba(56, 189, 248, 0.35) 40%,
    transparent 70%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1.5px; /* Sets beam border width */
}

.interactive-beam-card:hover .beam-glow-border {
  opacity: 1;
}

.interactive-beam-card:hover {
  box-shadow: 0 16px 48px -12px rgba(138, 43, 226, 0.28);
}

/* ==========================================================================
   FEATURED HERO CARD (2-Column Split + Shimmer-to-Image Fade Sync)
   ========================================================================== */
.sh-featured-card {
  width: 100%;
  margin-bottom: 3.5rem;
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.55);
}

/* 1. Single column on mobile, strict 2 equal columns on tablet/desktop */
.sh-featured-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  width: 100%;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .sh-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 2. Media wrapper: 16:9 landscape on mobile, full-height column on desktop */
.sh-featured-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #060911;
  overflow: hidden;
}

@media (min-width: 768px) {
  .sh-featured-thumb-wrap {
    aspect-ratio: auto;
    height: 100%;
    min-height: 420px;
  }
}

/* 3. Skeleton bones are taken OUT of document flow so they can never push
      the image below the clipped area or sit above it as an opaque mask. */
.sh-featured-thumb-wrap .moat-skeleton-media,
.sh-featured-thumb-wrap .bone-media,
.sh-card-thumb-wrap .moat-skeleton-media,
.sh-card-thumb-wrap .bone-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* 4. Image always stacks above the skeleton and is always visible */
.sh-featured-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1 !important;
  filter: none !important;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.sh-featured-card:hover .sh-featured-img {
  filter: none !important;
  transform: scale(1.035);
}

/* Once loaded, the skeleton fades out completely */
.sh-featured-thumb-wrap:has(.sh-featured-img.is-loaded) .moat-skeleton-media,
.sh-featured-thumb-wrap:has(.sh-featured-img.is-loaded) .bone-media,
.sh-card-thumb-wrap:has(.sh-card-img.is-loaded) .moat-skeleton-media,
.sh-card-thumb-wrap:has(.sh-card-img.is-loaded) .bone-media {
  opacity: 0 !important;
  visibility: hidden;
}

.sh-pill-time {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(13, 18, 31, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 500;
  z-index: 3;
}

.sh-featured-body {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  position: relative;
  z-index: 2;
}

.sh-featured-title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.sh-title-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sh-title-link:hover {
  color: var(--color-primary, #a855f7);
}

.sh-featured-excerpt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* Author Metadata */
.sh-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.4rem 0;
}

.sh-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  overflow: hidden;
  flex-shrink: 0;
}

.sh-avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
}

.sh-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
  border-radius: inherit;
}

.sh-author-meta {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
}

.sh-author-name {
  color: #ffffff;
  font-weight: 600;
}

.sh-author-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
}

/* Button & Action */
.sh-card-action {
  margin-top: 0.5rem;
  position: relative;
  z-index: 10;
}

.sh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sh-btn-primary {
  background: var(--color-primary, #a855f7);
  color: #ffffff;
  border: none;
}

.sh-btn-primary:hover {
  background: #9333ea;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}

/* Category Filter Bar */
.sh-category-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.sh-cat-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sh-cat-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.sh-cat-btn.is-active {
  background: var(--color-primary, #a855f7);
  border-color: var(--color-primary, #a855f7);
  color: #ffffff;
}

/* 3-Column Topic Grid */
.sh-topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .sh-topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sh-topic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sh-card {
  display: flex;
  flex-direction: column;
}

.sh-card-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #060911;
  overflow: hidden;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.sh-card-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1 !important;
  filter: none !important;
  transition: transform 0.4s ease;
}

.sh-card:hover .sh-card-img {
  filter: none !important;
  transform: scale(1.035);
}

.sh-card-header {
  padding: 1.35rem 1.35rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.sh-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.sh-card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sh-card-title a:hover {
  color: var(--color-primary, #a855f7);
}

.sh-card-content {
  padding: 0 1.35rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.sh-card-desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

.sh-card-footer {
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   23. FULL-WIDTH SINGLE BLOG ARTICLE ARCHITECTURE
   Prevents narrow squishing on wide screens, provides fluid responsive matrices
   and full-width breathing room for tables, ASCII diagrams, and code snippets.
   ========================================================================== */

.article-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 clamp(1rem, 3vw, 2.5rem) !important;
  box-sizing: border-box;
}

.article-body {
  width: 100% !important;
  max-width: 100% !important;
  font-size: clamp(1.02rem, 1.15vw, 1.15rem) !important;
  line-height: 1.85 !important;
  color: #e2e8f0;
}

/* Fluid Tables & Matrices */
.article-body table,
.article-container table {
  width: 100% !important;
  min-width: 680px;
  border-collapse: collapse;
  margin: 2.25rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(13, 18, 31, 0.75);
}

.article-body th,
.article-container th {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 16px 20px;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

.article-body td,
.article-container td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

/* Horizontal scrolling wrapper for tables when screen < 768px */
.table-responsive-wrapper,
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 2.5rem 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 18, 31, 0.6);
  -webkit-overflow-scrolling: touch;
}

.table-responsive-wrapper table,
.table-wrap table {
  margin: 0 !important;
  border: none !important;
}

/* ASCII Diagrams & Preformatted Technical Snippets */
.article-body pre,
.article-container pre {
  max-width: 100% !important;
  overflow-x: auto !important;
  background: #060911 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 1.5rem 1.75rem !important;
  font-family: 'Fira Code', 'Courier New', Courier, monospace !important;
  font-size: clamp(0.8rem, 1vw, 0.92rem) !important;
  line-height: 1.55 !important;
  margin: 2.5rem 0 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

/* Full-width callout boxes & Answer-First definitions */
.answer-first-box,
.article-body .answer-first-box {
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border-left: 4px solid var(--color-accent, #38bdf8) !important;
  padding: 1.35rem 1.75rem !important;
  border-radius: 0 12px 12px 0 !important;
  margin: 1.75rem 0 !important;
}

/* Responsive Images inside Single Articles */
.article-body img,
.article-container img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px;
}

/* ==========================================================================
   Executive Team & Leadership Grid Styles
   ========================================================================== */

.leadership-section {
  padding-top: 2rem;
  padding-bottom: 4rem;
  scroll-margin-top: 110px;
}

.team-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

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

.team-card-v2 {
  background: var(--card-bg, #0d1222);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
}

.team-card-v2.is-revealed,
.team-card-v2.reveal-init.is-revealed {
  opacity: 1 !important;
  filter: blur(0) !important;
}

.team-card-v2:hover {
  border-color: rgba(138, 43, 226, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(138, 43, 226, 0.22);
}

.team-card-inner {
  transform-style: preserve-3d;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #080c18;
  overflow: hidden;
  transform: translateZ(22px);
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.team-card-v2:hover .team-photo {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.team-badge-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(13, 18, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-primary, #38bdf8);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateZ(30px);
}

.team-meta-box {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  transform: translateZ(16px);
  transform-style: preserve-3d;
}

.team-member-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}

.team-member-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: #a855f7;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.team-member-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

.team-contact-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.85rem;
  transform: translateZ(24px);
}

.team-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.team-action-icon:hover {
  background: var(--color-primary, #38bdf8);
  color: #0b0f19;
  border-color: var(--color-primary, #38bdf8);
  transform: translateY(-2px);
}




/* ==================== CASE STUDIES HUB & BENTO MATRIX ==================== */
.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0 2.5rem 0;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted, #94a3b8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.filter-pill:hover,
.filter-pill:focus-visible {
  color: #FFFFFF;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
  outline: none;
}

.filter-pill.active {
  background: linear-gradient(135deg, #38bdf8 0%, #8A2BE2 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.bento-case-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.bento-card-large {
  grid-column: span 12;
}

.bento-card-medium {
  grid-column: span 12;
}

.bento-card-small {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .bento-card-medium {
    grid-column: span 6;
  }
}

@media (min-width: 1024px) {
  .bento-card-large {
    grid-column: span 7;
  }
  .bento-card-medium {
    grid-column: span 5;
  }
  .bento-card-small {
    grid-column: span 4;
  }
}

.case-card.is-hidden {
  display: none !important;
}

.case-card {
  position: relative;
  background: var(--color-surface, #0c1224);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 43, 226, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(56, 189, 248, 0.15);
}

.case-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.case-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.case-card:hover .case-card-thumb img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.case-meta-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 1rem 0 1.25rem 0;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.case-meta-dl dt {
  color: var(--color-primary, #38bdf8);
  font-weight: 700;
  white-space: nowrap;
}

.case-meta-dl dd {
  color: var(--color-text-muted, #94a3b8);
  margin: 0;
}

/* Direct Answer Box for AEO */
.direct-answer-box {
  background: rgba(56, 189, 248, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-left: 4px solid var(--color-primary, #38bdf8);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin: 1.5rem auto 2.5rem auto;
  max-width: 860px;
}

.direct-answer-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e2e8f0;
}

/* ROI Benchmark Table */
.roi-benchmark-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(12, 18, 36, 0.5);
}

.roi-benchmark-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.roi-benchmark-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  padding: 14px 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-benchmark-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  line-height: 1.5;
}

.roi-benchmark-table tr:last-child td {
  border-bottom: none;
}

.roi-benchmark-table tr:hover td {
  background: rgba(56, 189, 248, 0.03);
}

.benchmark-pre {
  color: #f87171;
  font-weight: 500;
}

.benchmark-post {
  color: #4ade80;
  font-weight: 700;
}
/* ==================== HOVER.DEV AI GRADIENT BORDER BEAM METRICS ==================== */
.metrics-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

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

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

.hero-brands-wrap,
.brands-slider-wrap,
.section-sm {
  overflow: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

.ai-gradient-border-card {
  position: relative;
  border-radius: 16px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
}

.ai-gradient-card-glow {
  position: absolute;
  inset: 0 !important;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.45) 0%, rgba(138, 43, 226, 0.35) 35%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0.8;
  border-radius: inherit;
}

.focus-text,
.focus-text-badge {
  max-width: 100%;
}

.ai-gradient-card-inner {
  position: relative;
  z-index: 2;
  background: #090e1a;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ai-gradient-border-card:hover .ai-gradient-card-glow {
  opacity: 1;
}

.ai-gradient-border-card:hover {
  box-shadow: 0 12px 32px -10px rgba(56, 189, 248, 0.25), 0 0 25px rgba(138, 43, 226, 0.2);
}
/* Ensure page hero clips ripple/particle bursts on mobile */
.page-hero {
  overflow: hidden !important;
}

/* ==========================================================================
   18. WEBGL MORPH GALLERY COMPONENT
   ========================================================================== */
/* Ensure case study layout grid columns allow children to shrink properly */
.case-layout > * {
  min-width: 0;
}

.morph-gallery {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #080c16;
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  border: 1px solid var(--color-card-border, rgba(255, 255, 255, 0.1));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  user-select: none;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  touch-action: pan-y;
}

.morph-gallery:focus-visible {
  outline: 2px solid var(--color-primary, #38bdf8);
  outline-offset: 2px;
}

/* Stage Viewport (Aspect-Ratio Canvas Stage with 100% Uncropped Contain) */
.morph-gallery__stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  min-height: 480px;
  max-height: 740px;
  background: #060911;
  overflow: hidden;
  touch-action: pan-y;
}

.morph-gallery__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* Morph Gallery Shimmer Skeleton Layer */
.morph-gallery__skeleton {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border-radius: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.morph-gallery.is-ready .morph-gallery__skeleton {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Semantic slides container: hidden visually when JS is running, accessible to SEO */
.morph-gallery__slides {
  display: none;
}

/* Graceful Fallback if WebGL unavailable */
.morph-gallery__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none;
  background: #060911;
}

.morph-gallery.is-fallback .morph-gallery__fallback {
  display: block;
}

.morph-gallery.is-fallback .morph-gallery__canvas {
  display: none;
}

.morph-gallery__fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #080c16;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.morph-gallery__fallback-img.is-active {
  opacity: 1;
  z-index: 2;
}

/* Bottom Gradient Vignette */
.morph-gallery__overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 7.5rem;
  background: linear-gradient(to bottom, transparent, rgba(6, 9, 17, 0.85));
  pointer-events: none;
  z-index: 3;
}

/* Glassmorphic Arrows */
.morph-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.morph-gallery__arrow:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.morph-gallery__arrow:focus-visible {
  outline: 2px solid var(--color-primary, #38bdf8);
  outline-offset: 2px;
}

.morph-gallery__arrow--prev {
  left: 1.25rem;
}

.morph-gallery__arrow--next {
  right: 1.25rem;
}

/* Slide Metadata */
.morph-gallery__meta {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 4;
  pointer-events: none;
}

.morph-gallery__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.morph-gallery__title {
  color: #ffffff;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.25rem 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.morph-gallery__desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  max-width: 680px;
  line-height: 1.45;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Slide Counter */
.morph-gallery__counter {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  z-index: 5;
  letter-spacing: 0.06em;
}

/* Horizontal Scrollable Thumbnail Strip (Docked Cleanly Below Stage Viewport) */
.morph-gallery__thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  z-index: 5;
  padding: 10px 1.5rem 12px;
  background: rgba(8, 12, 22, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.morph-gallery__thumbs::-webkit-scrollbar {
  height: 4px;
}

.morph-gallery__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

.morph-gallery__thumb-btn {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  height: 48px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  border: 2px solid transparent;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.morph-gallery__thumb-skeleton {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border-radius: 6px;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.morph-gallery__thumb-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.morph-gallery__thumb-btn.is-active {
  opacity: 1;
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.morph-gallery__thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Screen Reader Status */
.morph-gallery__sr-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Small mobile responsiveness */
@media (max-width: 640px) {
  .morph-gallery {
    margin: 1.75rem 0;
  }
  .morph-gallery__stage {
    aspect-ratio: 4 / 3;
    min-height: 300px;
    max-height: 420px;
  }
  .morph-gallery__thumbs {
    display: none !important;
  }
  .morph-gallery__meta {
    bottom: 0.75rem;
    left: 1rem;
    right: 1rem;
  }
  .morph-gallery__desc {
    display: none;
  }
  .morph-gallery__arrow {
    width: 38px;
    height: 38px;
  }
  .morph-gallery__arrow--prev {
    left: 0.65rem;
  }
  .morph-gallery__arrow--next {
    right: 0.65rem;
  }
}

/* ==========================================================================
   VIDEO SHOWCASE ARCHITECTURE (FULL-STACK MARKETING VIDEO COMPONENT)
   ========================================================================== */
.video-showcase-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem 0;
  background: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, 0.12) 0%, rgba(14, 165, 233, 0.05) 40%, rgba(11, 15, 25, 0) 75%);
  scroll-margin-top: 110px;
}
.video-showcase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(124, 58, 237, 0.35) 50%, transparent 100%);
}
.video-ambient-glow {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1020px;
  height: 440px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.28) 0%, rgba(56, 189, 248, 0.14) 40%, rgba(0, 0, 0, 0) 72%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.video-embed-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(124, 58, 237, 0.22) 100%);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 50px rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-sizing: border-box;
}
.video-embed-wrapper:hover {
  box-shadow: 0 35px 85px -15px rgba(0, 0, 0, 0.95), 0 0 65px rgba(124, 58, 237, 0.32);
  border-color: rgba(124, 58, 237, 0.45);
}
.video-embed-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-embed-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  background: #000000;
  outline: none;
}
.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.35);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.video-play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.video-play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  cursor: pointer;
}
.video-play-overlay:hover .video-play-btn {
  transform: scale(1.12);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.85), 0 12px 30px rgba(0, 0, 0, 0.5);
}
.video-play-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.video-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.video-telemetry-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.video-telemetry-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-2px);
}
.video-telemetry-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.video-telemetry-text {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}
.text-purple {
  color: #a855f7 !important;
}
.text-blue {
  color: #38bdf8 !important;
}
.text-green {
  color: #22c55e !important;
}
@media (max-width: 900px) {
  .video-telemetry-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-showcase-section {
    padding: 4rem 0 4.5rem 0;
  }
}
@media (max-width: 640px) {
  .video-embed-wrapper {
    padding: 5px;
    border-radius: 16px;
  }
  .video-embed-inner {
    border-radius: 12px;
  }
  .video-play-btn {
    width: 58px;
    height: 58px;
  }
  .video-play-btn svg {
    width: 22px;
    height: 22px;
  }
  .video-play-label {
    font-size: 0.8rem;
    padding: 5px 12px;
  }
  .video-telemetry-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 1.25rem;
  }
  .video-telemetry-card {
    padding: 0.75rem 0.5rem;
  }
  .video-telemetry-num {
    font-size: 1.05rem;
  }
  .video-telemetry-text {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   MOAT DIGITAL - FLOATING WHATSAPP LEAD CAPTURE WIDGET (LEFT-HAND SIDE)
   Hardware-Accelerated Luxury Glassmorphism & High-Conversion Micro-Interactions
   ========================================================================== */

.moat-whatsapp-widget {
  position: relative;
  z-index: 999998;
}

/* Floating Trigger Button */
.moat-whatsapp-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  cursor: pointer;
  z-index: 999999;
  padding: 0;
  outline: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.moat-whatsapp-toggle:hover {
  transform: scale(1.12) translateY(-2px) translateZ(0);
}

.moat-whatsapp-toggle:active {
  transform: scale(0.94) translateZ(0);
}

.moat-whatsapp-toggle:focus-visible {
  outline: 3px solid #8A2BE2;
  outline-offset: 4px;
  border-radius: 50%;
}

.moat-wa-btn-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  pointer-events: none;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(37, 211, 102, 0.45)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.moat-whatsapp-toggle:hover .moat-wa-btn-img {
  transform: rotate(6deg) scale(1.05);
  filter: drop-shadow(0 10px 24px rgba(37, 211, 102, 0.7)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

/* Pulsing Online Beacon Ring */
.moat-wa-badge-pulse {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border-radius: 50%;
  border: 2px solid #25D366;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.6);
  opacity: 0.85;
  animation: moatWaPulse 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes moatWaPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.9;
  }
  60% {
    transform: scale(1.36);
    opacity: 0;
  }
  100% {
    transform: scale(1.36);
    opacity: 0;
  }
}

/* Hover Tooltip Label (Desktop only) */
.moat-wa-toggle-tooltip {
  position: absolute;
  left: 76px;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: rgba(18, 18, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(37, 211, 102, 0.2);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.moat-wa-toggle-tooltip::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: rgba(18, 18, 24, 0.92);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (hover: hover) and (min-width: 769px) {
  .moat-whatsapp-toggle:hover .moat-wa-toggle-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* Modal Lead Capture Dialog */
.moat-whatsapp-modal {
  position: fixed;
  bottom: 100px;
  left: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: rgba(18, 18, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(138, 43, 226, 0.25), 0 0 35px rgba(37, 211, 102, 0.15);
  z-index: 999998;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: bottom left;
  opacity: 0;
  transform: translateY(16px) scale(0.96) translateZ(0);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.moat-whatsapp-modal.is-open {
  opacity: 1;
  transform: translateY(0) scale(1) translateZ(0);
  pointer-events: auto;
  visibility: visible;
}

/* Modal Header */
.moat-wa-header {
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(32, 32, 40, 0.95) 0%, rgba(22, 22, 28, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.moat-wa-agent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.moat-wa-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #000;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.moat-wa-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.moat-wa-pulse-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #25D366;
  border: 2px solid #141418;
  border-radius: 50%;
}

.moat-wa-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.moat-wa-status {
  margin: 2px 0 0 0;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.moat-wa-status-beacon {
  width: 7px;
  height: 7px;
  background: #25D366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #25D366;
}

.moat-wa-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.moat-wa-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Modal Body */
.moat-wa-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.moat-wa-intro {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

/* Topic Chips */
.moat-wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.moat-wa-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.moat-wa-chip:hover,
.moat-wa-chip.is-active {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25D366;
  color: #25D366;
  transform: translateY(-1px);
}

/* Form & Inputs */
.moat-wa-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.moat-wa-field {
  position: relative;
}

.moat-wa-input,
.moat-wa-textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.86rem;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.moat-wa-input::placeholder,
.moat-wa-textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.moat-wa-input:focus,
.moat-wa-textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.09);
  border-color: #8A2BE2;
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.25);
}

.moat-wa-input.is-invalid,
.moat-wa-textarea.is-invalid {
  border-color: #ff4757;
  animation: moatWaShake 0.4s ease;
}

@keyframes moatWaShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.moat-wa-textarea {
  resize: vertical;
  min-height: 72px;
  max-height: 140px;
}

/* Send Button */
.moat-wa-send-btn {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.moat-wa-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55);
  filter: brightness(1.05);
}

.moat-wa-send-btn:active {
  transform: translateY(0);
}

.moat-wa-btn-icon {
  flex-shrink: 0;
}

/* Direct Link fallback */
.moat-wa-direct-link {
  text-align: center;
  margin-top: 2px;
}

.moat-wa-direct-link a {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.moat-wa-direct-link a:hover {
  color: #25D366;
}

/* Mobile & Touch Responsive Adjustments */
@media (max-width: 640px) {
  .moat-whatsapp-toggle {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    left: calc(16px + env(safe-area-inset-left, 0px));
    width: 58px;
    height: 58px;
  }
  .moat-wa-btn-img {
    width: 58px;
    height: 58px;
  }
  .moat-wa-toggle-tooltip {
    display: none !important;
  }
  .moat-whatsapp-modal {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    left: calc(16px + env(safe-area-inset-left, 0px));
    width: calc(100vw - 32px);
    max-width: 340px;
  }
}


/* ==========================================================================
   AWA AI CHATBOT - BOTTOM-CENTER FLOATING INTERACTIVE WIDGET
   Hardware-Accelerated Luxury Glassmorphism & GPU Performance
   Authorship: Joseph Mseli | Moat Digital Brand Standard
   ========================================================================== */

/* Keyframe Animations */
@keyframes awaPulseGlow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4), 0 0 0 0 rgba(138, 43, 226, 0.35);
  }
  50% {
    box-shadow: 0 10px 32px rgba(138, 43, 226, 0.65), 0 0 0 8px rgba(138, 43, 226, 0);
  }
}

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

@keyframes awaSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes awaDotBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Widget Container */
.awa-ai-widget-container {
  position: relative;
  z-index: 999995;
}

/* 1. Floating Center-Bottom Trigger Button */
.awa-ai-toggle {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6D28D9 0%, #4C1D95 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  z-index: 999995;
  border: 2.5px solid #8A2BE2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
  animation: awaPulseGlow 2.5s infinite;
  padding: 0;
  outline: none;
}

.awa-ai-toggle:hover {
  transform: translateX(-50%) scale(1.08) translateY(-2px) translateZ(0);
  box-shadow: 0 14px 38px rgba(138, 43, 226, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.25);
  border-color: #A855F7;
}

.awa-ai-toggle:active {
  transform: translateX(-50%) scale(0.96) translateZ(0);
}

.awa-ai-toggle:focus-visible {
  outline: 3px solid #3498db;
  outline-offset: 4px;
}

/* Inner Badge */
.awa-ai-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  border: 2px solid #8A2BE2;
  overflow: hidden;
  animation: awaFloat 3s ease-in-out infinite;
}

.awa-ai-badge img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  pointer-events: none;
}

/* Unread Badge */
.awa-ai-unread-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #EF4444;
  color: #FFFFFF;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  border: 2px solid #030308;
  pointer-events: none;
}

/* Hover Tooltip Label */
.awa-ai-toggle-label {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(18, 15, 38, 0.95);
  color: #FFFFFF;
  border: 1px solid #8A2BE2;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.awa-ai-toggle:hover .awa-ai-toggle-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 2. Floating Center-Bottom Modal */
.awa-ai-modal {
  position: fixed;
  bottom: 104px;
  left: 50%;
  transform: translateX(-50%) translateY(16px) scale(0.96) translateZ(0);
  width: 420px;
  max-width: calc(100vw - 32px);
  height: 590px;
  max-height: calc(100vh - 130px);
  background: rgba(18, 15, 38, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  border: 2px solid #8A2BE2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(138, 43, 226, 0.3);
  z-index: 999996;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.26s ease, transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.26s;
  will-change: transform, opacity;
  font-family: inherit;
}

.awa-ai-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1) translateZ(0);
}

/* Modal Header */
.awa-ai-header {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.95) 0%, rgba(76, 29, 149, 0.95) 100%);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid #8A2BE2;
  flex-shrink: 0;
}

.awa-ai-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.awa-ai-avatar {
  background: #FFFFFF;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  border: 2px solid #8A2BE2;
  overflow: hidden;
}

.awa-ai-avatar img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.awa-ai-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.awa-ai-title {
  font-weight: 700;
  font-size: 17px;
  color: #FFFFFF;
  line-height: 1.2;
}

.awa-ai-subtitle {
  font-size: 12px;
  color: #DDD6FE;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.awa-ai-online-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #10B981;
}

.awa-ai-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: all 0.2s ease;
  font-weight: 300;
  flex-shrink: 0;
}

.awa-ai-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: #EF4444;
  transform: rotate(90deg);
}

/* 3. Messages Container */
.awa-ai-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  pointer-events: auto;
  padding: 20px;
  background: rgba(15, 12, 33, 0.98);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.awa-ai-messages::-webkit-scrollbar {
  width: 6px;
}

.awa-ai-messages::-webkit-scrollbar-track {
  background: rgba(15, 12, 33, 0.5);
}

.awa-ai-messages::-webkit-scrollbar-thumb {
  background: #6D28D9;
  border-radius: 8px;
  border: 1px solid #8A2BE2;
}

.awa-ai-messages::-webkit-scrollbar-thumb:hover {
  background: #8A2BE2;
}

/* Message Bubbles */
.awa-ai-message {
  padding: 14px 18px;
  border-radius: 18px;
  line-height: 1.55;
  font-size: 13.5px;
  max-width: 88%;
  word-wrap: break-word;
  position: relative;
  animation: awaSlideIn 0.25s ease-out;
}

.awa-ai-message.user {
  background: linear-gradient(135deg, #6D28D9 0%, #4C1D95 100%);
  color: #FFFFFF;
  margin-left: auto;
  border-bottom-right-radius: 4px;
  border: 1.5px solid #8A2BE2;
  box-shadow: 0 4px 14px rgba(138, 43, 226, 0.3);
}

.awa-ai-message.ai {
  background: rgba(30, 27, 75, 0.85);
  color: #F3F4F6;
  border: 1.5px solid #8A2BE2;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Embedded Links */
.awa-ai-link {
  color: #3498db !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  display: inline-block !important;
  margin: 4px 0 !important;
  padding: 4px 10px !important;
  background: rgba(52, 152, 219, 0.12) !important;
  border-radius: 6px !important;
  border: 1px solid rgba(52, 152, 219, 0.25) !important;
  transition: all 0.2s ease !important;
}

.awa-ai-link:hover {
  background: rgba(52, 152, 219, 0.25) !important;
  border-color: #3498db !important;
  transform: translateY(-1px) !important;
  color: #FFFFFF !important;
}

/* Typing Dots Animation */
.awa-ai-typing-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
}

.awa-ai-typing-dots span {
  width: 7px;
  height: 7px;
  background: #A855F7;
  border-radius: 50%;
  display: inline-block;
  animation: awaDotBounce 1.4s infinite ease-in-out both;
}

.awa-ai-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.awa-ai-typing-dots span:nth-child(2) { animation-delay: -0.16s; }

/* 4. Quick Replies Chips */
.awa-ai-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(138, 43, 226, 0.35);
}

.awa-ai-quick-reply-btn {
  background: #3498db !important;
  color: #FFFFFF !important;
  border: 1.5px solid #2980b9 !important;
  padding: 7px 13px !important;
  border-radius: 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(52, 152, 219, 0.25) !important;
  line-height: 1.2 !important;
}

.awa-ai-quick-reply-btn:hover {
  background: #8A2BE2 !important;
  border-color: #8A2BE2 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(138, 43, 226, 0.4) !important;
}

.awa-ai-quick-reply-btn:active {
  transform: scale(0.96) !important;
}

/* 5. Lead Capture Form Card */
.awa-lead-form-card {
  background: rgba(26, 23, 64, 0.95);
  border: 2px solid #8A2BE2;
  border-radius: 16px;
  padding: 18px;
  margin-top: 8px;
  box-shadow: 0 6px 18px rgba(138, 43, 226, 0.3);
  animation: awaSlideIn 0.3s ease-out;
}

.awa-lead-form-title {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.awa-lead-form-desc {
  color: #E2E8F0;
  font-size: 12.5px;
  line-height: 1.45;
  margin: 0 0 14px 0;
}

.awa-lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.awa-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.awa-form-group label {
  font-size: 12px;
  color: #DDD6FE;
  font-weight: 600;
}

.awa-form-input,
.awa-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #8A2BE2;
  border-radius: 10px;
  background: rgba(18, 15, 38, 0.85);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  outline: none;
}

.awa-form-input:focus,
.awa-form-textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
  background: rgba(15, 12, 33, 1);
}

.awa-form-input.is-invalid,
.awa-form-textarea.is-invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.awa-lead-submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.4);
  transition: all 0.2s ease;
  margin-top: 4px;
}

.awa-lead-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.6);
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}

.awa-form-security-note {
  font-size: 11px;
  color: #94A3B8;
  text-align: center;
  margin-top: 6px;
}

/* Success Card */
.awa-lead-success-card {
  text-align: center;
  padding: 8px 4px;
}

.awa-success-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.awa-success-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.awa-success-wa-btn {
  display: block;
  padding: 10px 14px;
  background: #25D366;
  color: #FFFFFF !important;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.awa-success-wa-btn:hover {
  transform: translateY(-2px);
  background: #1FB855;
}

.awa-success-call-btn {
  display: block;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #DDD6FE !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 12px;
  text-decoration: none;
}

/* 6. Input Area */
.awa-ai-input-area {
  padding: 14px 18px;
  background: rgba(18, 15, 38, 0.98);
  border-top: 2px solid #8A2BE2;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.awa-ai-input {
  flex: 1;
  padding: 11px 16px;
  border: 2px solid #8A2BE2;
  border-radius: 16px;
  font-size: 13.5px;
  outline: none;
  transition: all 0.25s ease;
  font-family: inherit;
  background: rgba(26, 23, 64, 0.9);
  color: #FFFFFF;
}

.awa-ai-input:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
  background: rgba(15, 12, 33, 1);
}

.awa-ai-input::placeholder {
  color: #94A3B8;
}

.awa-ai-send-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #FFFFFF;
  border: 2px solid #8A2BE2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.35);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.awa-ai-send-btn:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  box-shadow: 0 6px 16px rgba(138, 43, 226, 0.5);
  border-color: #7C3AED;
}

.awa-ai-send-btn:active {
  transform: scale(0.95);
}

/* 7. Powered By Badge Strip (Removed per UI spec) */
.awa-ai-powered-by {
  display: none !important;
  padding: 10px 18px 14px 18px;
  text-align: center;
  font-size: 11px;
  color: #94A3B8;
  background: rgba(18, 15, 38, 0.98);
  border-top: 1px solid rgba(138, 43, 226, 0.25);
  flex-shrink: 0;
}

.awa-ai-powered-text {
  background: linear-gradient(135deg, #A855F7 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  display: inline-block;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   RESPONSIVE DESIGN ACROSS ALL VIEWPORTS
   ========================================================================== */
@media (max-width: 640px) {
  .awa-ai-toggle {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    width: 58px;
    height: 58px;
  }

  .awa-ai-badge {
    width: 42px;
    height: 42px;
  }

  .awa-ai-badge img {
    width: 28px;
    height: 28px;
  }

  .awa-ai-toggle-label {
    display: none !important;
  }

  .awa-ai-modal {
    width: calc(100vw - 24px);
    max-width: 380px;
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    height: 520px;
    max-height: calc(100vh - 100px);
    border-radius: 20px;
  }

  .awa-ai-header {
    padding: 14px 16px;
  }

  .awa-ai-avatar {
    width: 36px;
    height: 36px;
  }

  .awa-ai-avatar img {
    width: 22px;
    height: 22px;
  }

  .awa-ai-title {
    font-size: 15px;
  }

  .awa-ai-messages {
    padding: 14px;
    gap: 12px;
  }

  .awa-ai-message {
    font-size: 13px;
    padding: 12px 14px;
    max-width: 92%;
  }

  .awa-ai-input-area {
    padding: 12px 14px;
  }

  .awa-ai-input {
    padding: 9px 13px;
    font-size: 13px;
  }

  .awa-ai-send-btn {
    width: 38px;
    height: 38px;
  }
}
