/* ==========================================================================
   SriLions Software Solutions - Enterprise Dark Design System
   Pure Vanilla CSS3 (Zero framework dependencies)
   Compliant with modern W3C HTML5 & CSS standards
   ========================================================================== */

/* Fonts & Material Symbols are loaded directly via <link> in HTML <head> to avoid duplicate multi-MB @import downloads */

/* Material Symbols Icon Base & FOUC/FOIT Raw Text Flash Prevention */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
  font-display: block;
}

/* Prevent raw Material Symbols ligature text flash on hard refresh */
html:not(.fonts-loaded) .material-symbols-outlined {
  opacity: 0 !important;
}

html.fonts-loaded .material-symbols-outlined {
  opacity: 1;
  transition: opacity 0.14s ease;
}

/* CSS Custom Properties & Design Tokens */
:root {
  /* Surface & Background Hierarchy (Obsidian Carbon) */
  --bg-base: #09090b;
  --bg-deep: #050507;
  --bg-navy: #0c0c10;
  --surface-lowest: #09090b;
  --surface-low: #111114;
  --surface: #09090b;
  --surface-container: #16161a;
  --surface-high: #1e1e24;
  --surface-highest: #27272f;
  --surface-bright: #2e2e38;
  --surface-header: rgba(9, 9, 11, 0.94);

  /* Primary Brand Palette (SriLions Amber-Gold) */
  --primary: #fbbf24;
  --primary-dim: #f59e0b;
  --primary-container: #d97706;
  --on-primary: #09090b;
  --on-primary-container: #451a03;
  --inverse-primary: #d97706;

  /* Secondary & Tertiary Accents (Champagne & Warm Copper) */
  --secondary: #fde68a;
  --secondary-container: #b45309;
  --on-secondary: #271300;
  --tertiary: #fb923c;
  --tertiary-container: #ea580c;
  --on-tertiary: #431407;

  /* Brand Accents & Gradients */
  --cobalt: #f59e0b;
  --cobalt-hover: #d97706;
  --electric-blue: #f59e0b;
  --violet: #fb923c;
  --emerald: #34d399;
  --amber: #fbbf24;
  --error: #ffb4ab;

  /* Typography & Text */
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --text-inverse: #09090b;
  --text-white: #fafafa;

  /* Borders & Outlines */
  --border: #27272f;
  --border-light: #1e1e24;
  --border-glow: rgba(251, 191, 36, 0.25);
  --border-focus: #f59e0b;

  /* Shadows & Glows */
  --glow-primary: 0 0 25px -5px rgba(251, 191, 36, 0.22);
  --glow-cobalt: 0 10px 25px -5px rgba(245, 158, 11, 0.35);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.55), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.75);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Border Radii */
  --radius-xs: 0.125rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Layout Spacing */
  --container-max: 1280px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Token Overrides (Warm Alabaster & Lion Amber) */
[data-theme="light"] {
  --bg-base: #fafaf9;
  --bg-deep: #f4f4f5;
  --bg-navy: #e4e4e7;
  --surface-lowest: #ffffff;
  --surface-low: #fafaf9;
  --surface: #ffffff;
  --surface-container: #f4f4f5;
  --surface-high: #e4e4e7;
  --surface-highest: #d4d4d8;
  --surface-bright: #ffffff;
  --surface-header: rgba(250, 250, 249, 0.94);

  --primary: #d97706;
  --primary-dim: #b45309;
  --primary-container: #fef3c7;
  --on-primary: #ffffff;
  --on-primary-container: #78350f;
  --inverse-primary: #fbbf24;

  --secondary: #b45309;
  --secondary-container: #fef3c7;
  --on-secondary: #78350f;
  --tertiary: #ea580c;
  --tertiary-container: #ffedd5;
  --on-tertiary: #7c2d12;

  --text-main: #18181b;
  --text-muted: #52525b;
  --text-dim: #71717a;
  --text-inverse: #ffffff;
  --text-white: #18181b;

  --border: #e4e4e7;
  --border-light: #f4f4f5;
  --border-glow: rgba(217, 119, 6, 0.22);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 0 1px 1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Comprehensive Light Theme Overrides & Global Standards
   Ensures 100% readability, high contrast, clean backgrounds, and visible navbars across all 11 pages
   ========================================================================== */

[data-theme="light"],
html[data-theme="light"] {
  color-scheme: light;
}

[data-theme="light"] body {
  background-color: #f8fafc !important;
  background-image: none !important;
  color: #0f172a !important;
}

/* 1. All Backgrounds & Page Sections */
[data-theme="light"] main:not(.dark-app-window):not(.dark-app-window *) {
  background-color: transparent !important;
}

[data-theme="light"] section:not(.dark-app-window):not(.dark-app-window *),
[data-theme="light"] .bg-surface:not(.dark-app-window):not(.dark-app-window *),
[data-theme="light"] .bg-background:not(.dark-app-window):not(.dark-app-window *),
[data-theme="light"] .bg-brand-surface:not(.dark-app-window):not(.dark-app-window *) {
  background-color: transparent !important;
}
[data-theme="light"] .bg-brand-deep:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] .bg-brand-navy:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] .bg-surface-dim:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] .bg-surface-variant:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] [class*="bg-brand-deep"]:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] [class*="bg-brand-navy"]:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] [class*="bg-[#0b0c16]"]:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] [class*="bg-[#0f1019]"]:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] [class*="bg-[#09090b]"]:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] [class*="bg-[#0d0d15]"]:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] [class*="bg-[#07070c]"]:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *),
[data-theme="light"] [class*="bg-[#1b1b23]"]:not(.dark-app-window):not(.dark-app-window *):not(footer):not(footer *) {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

/* Alternating Section Colors in Light Mode — transparent so body dot pattern shows through */
[data-theme="light"] section:nth-of-type(odd):not(.dark-app-window):not(.dark-app-window *),
[data-theme="light"] .bg-surface-container-lowest:not(.dark-app-window):not(.dark-app-window *) {
  background-color: transparent !important;
}

[data-theme="light"] section:nth-of-type(even):not(.dark-app-window):not(.dark-app-window *),
[data-theme="light"] .bg-surface-container-low:not(.dark-app-window):not(.dark-app-window *) {
  background-color: transparent !important;
}

/* 2. Neutralize All Dark Decorative Gradient & Surface Overlays */
[data-theme="light"] .pointer-events-none[class*="bg-gradient-to"],
[data-theme="light"] .pointer-events-none[class*="bg-surface"],
[data-theme="light"] .pointer-events-none[class*="backdrop-blur"],
[data-theme="light"] .mesh-gradient::before,
[data-theme="light"] .mesh-gradient::after {
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
}

[data-theme="light"] [class*="bg-gradient-to-b"].to-brand-surface,
[data-theme="light"] [class*="bg-gradient-to-b"].via-surface,
[data-theme="light"] [class*="bg-gradient-to-b"].to-surface {
  background: transparent !important;
}

[data-theme="light"] .mesh-gradient {
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%) !important;
}

/* 3. Cards & Elevated Containers */
[data-theme="light"] .card,
[data-theme="light"] .bg-surface-container:not(.dark-app-window):not(.dark-app-window *),
[data-theme="light"] .bg-surface-container-high:not(.dark-app-window):not(.dark-app-window *),
[data-theme="light"] .bg-surface-container-highest:not(.dark-app-window):not(.dark-app-window *),
[data-theme="light"] .bg-brand-card:not(.dark-app-window):not(.dark-app-window *),
[data-theme="light"] [class*="bg-surface-container/"]:not(.dark-app-window):not(.dark-app-window *) {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 1px 2px 0 rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}

/* 4. Navbar & Navigation Header */
[data-theme="light"] header {
  background-color: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] header .font-display {
  color: #0f172a !important;
}

[data-theme="light"] header .text-\[11px\].text-primary {
  color: #4f46e5 !important;
}

[data-theme="light"] nav a {
  color: #475569 !important;
}

[data-theme="light"] nav a:hover {
  color: #d97706 !important;
  background-color: #f1f5f9 !important;
}

/* ==========================================================================
   SLEEK BOTTOM UNDERLINE BAR ONLY (NO BOX / NO PILL BORDER)
   ========================================================================== */
header nav > a.nav-active-link,
header nav > .nav-dropdown > a.nav-active-link {
  color: #fbbf24 !important;
  font-weight: 600 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative !important;
}

header nav > a.nav-active-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0px !important;
  left: 12% !important;
  right: 12% !important;
  height: 2.5px !important;
  background: #fbbf24 !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8) !important;
}

header nav > .nav-dropdown > a.nav-active-link::after {
  display: none !important;
}

header nav > .nav-dropdown > a.nav-active-link > span:first-child {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

header nav > .nav-dropdown > a.nav-active-link > span:first-child::after {
  content: '' !important;
  position: absolute !important;
  bottom: -8px !important;
  left: 0 !important;
  right: 0 !important;
  height: 2.5px !important;
  background: #fbbf24 !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8) !important;
}

/* Ensure Dropdown items NEVER get the bottom underline bar */
.nav-dropdown-menu a::after,
.nav-dropdown-menu .nav-dropdown-item::after,
.nav-dropdown-item::after {
  display: none !important;
  content: none !important;
}

/* Dropdown Menu Item Active Highlight (Subtle background only, NO underline bar) */
.nav-dropdown-menu a.nav-dropdown-item.text-primary,
.nav-dropdown-menu a.nav-dropdown-item[class*="bg-primary"],
.nav-dropdown-menu .nav-dropdown-item.active {
  background: rgba(251, 191, 36, 0.09) !important;
  color: #fbbf24 !important;
  font-weight: 600 !important;
  border: 1px solid rgba(251, 191, 36, 0.25) !important;
  border-radius: 0.75rem !important;
}

/* Light Theme */
[data-theme="light"] header nav > a.nav-active-link,
[data-theme="light"] header nav > .nav-dropdown > a.nav-active-link {
  color: #d97706 !important;
  background: transparent !important;
  border: none !important;
}

[data-theme="light"] header nav > a.nav-active-link::after,
[data-theme="light"] header nav > .nav-dropdown > a.nav-active-link > span:first-child::after {
  background: #d97706 !important;
  box-shadow: 0 0 8px rgba(67, 56, 202, 0.5) !important;
}

[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item.text-primary,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item[class*="bg-primary"],
[data-theme="light"] .nav-dropdown-menu .nav-dropdown-item.active {
  background: #eef2ff !important;
  color: #d97706 !important;
  border: 1px solid #c7d2fe !important;
}

/* Permanently hide any active dot in header nav */
header nav a span.rounded-full.bg-primary,
header nav a span[class*="bg-primary"][class*="rounded-full"],
header nav span.w-1\.5.h-1\.5 {
  display: none !important;
}



/* Mobile Dropdown Menu Light Theme Fix */
[data-theme="light"] #mobile-menu,
[data-theme="light"] .mobile-menu-drawer,
[data-theme="light"] .mobile-nav-drawer {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] #mobile-menu a,
[data-theme="light"] #mobile-menu button,
[data-theme="light"] #mobile-menu .mobile-dropdown > div,
[data-theme="light"] .mobile-menu-drawer a,
[data-theme="light"] .mobile-menu-drawer button {
  color: #334155 !important;
  background-color: transparent !important;
}

[data-theme="light"] #mobile-menu a:hover,
[data-theme="light"] #mobile-menu button:hover,
[data-theme="light"] #mobile-menu .mobile-dropdown > div:hover,
[data-theme="light"] .mobile-menu-drawer a:hover {
  background-color: #f1f5f9 !important;
  color: #d97706 !important;
}

[data-theme="light"] #mobile-menu .mobile-dropdown > div,
[data-theme="light"] #mobile-menu .mobile-dropdown > div * {
  color: #334155 !important;
  border-color: transparent !important;
}

[data-theme="light"] #mobile-menu .mobile-dropdown > div:hover,
[data-theme="light"] #mobile-menu .mobile-dropdown > div:hover * {
  background-color: #f1f5f9 !important;
  color: #d97706 !important;
}

[data-theme="light"] #mobile-menu a[class*="bg-primary/"],
[data-theme="light"] #mobile-menu a.active,
[data-theme="light"] .mobile-menu-drawer a.active {
  background-color: #eef2ff !important;
  color: #d97706 !important;
  border-color: #c7d2fe !important;
}

[data-theme="light"] #mobile-menu .mobile-dropdown {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] #mobile-menu .mobile-dropdown-sub {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  border-radius: 0.5rem;
}

[data-theme="light"] #mobile-menu .navbar-search-input {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

[data-theme="light"] #mobile-menu .navbar-search-input::placeholder {
  color: #94a3b8 !important;
}

[data-theme="light"] #mobile-menu .mobile-dropdown-sub a {
  color: #475569 !important;
}

[data-theme="light"] #mobile-menu .mobile-dropdown-sub a:hover {
  background-color: #e0e7ff !important;
  color: #b45309 !important;
}

[data-theme="light"] #mobile-menu .material-symbols-outlined {
  color: #64748b !important;
}

[data-theme="light"] #mobile-menu a:hover .material-symbols-outlined,
[data-theme="light"] #mobile-menu button:hover .material-symbols-outlined {
  color: #d97706 !important;
}


/* 5. Typography & Headings */
[data-theme="light"] h1:not(.dark-app-window *),
[data-theme="light"] h2:not(.dark-app-window *),
[data-theme="light"] h3:not(.dark-app-window *),
[data-theme="light"] h4:not(.dark-app-window *),
[data-theme="light"] h5:not(.dark-app-window *),
[data-theme="light"] h6:not(.dark-app-window *),
[data-theme="light"] .font-headline-xl,
[data-theme="light"] .font-headline-lg,
[data-theme="light"] .font-headline-md,
[data-theme="light"] .font-headline-sm,
[data-theme="light"] .text-white:not(.dark-app-window *):not(.btn *):not(.btn-primary *):not(header a[href*="contact.html"] *):not(footer *) {
  color: #0f172a !important;
}

[data-theme="light"] .text-slate-100:not(.dark-app-window *):not(footer *),
[data-theme="light"] .text-slate-200:not(.dark-app-window *):not(footer *),
[data-theme="light"] .text-slate-300:not(.dark-app-window *):not(footer *),
[data-theme="light"] .text-on-surface:not(.dark-app-window *):not(footer *) {
  color: #334155 !important;
}

[data-theme="light"] .text-slate-400:not(.dark-app-window *):not(footer *),
[data-theme="light"] .text-slate-500:not(.dark-app-window *):not(footer *),
[data-theme="light"] .text-on-surface-variant:not(.dark-app-window *):not(footer *) {
  color: #64748b !important;
}

[data-theme="light"] .text-primary:not(.dark-app-window *):not(.theme-toggle-btn):not(footer *) {
  color: #d97706 !important;
}

[data-theme="light"] .text-secondary:not(.dark-app-window *):not(footer *) {
  color: #0284c7 !important;
}

/* Force dark overlay elements to retain bright crisp text in light theme */
.dark-app-window h1,
.dark-app-window h2,
.dark-app-window h3,
.dark-app-window h4,
.dark-app-window h5,
.dark-app-window h6,
.dark-app-window .text-white,
[data-theme="light"] .dark-app-window h1,
[data-theme="light"] .dark-app-window h2,
[data-theme="light"] .dark-app-window h3,
[data-theme="light"] .dark-app-window h4,
[data-theme="light"] .dark-app-window h5,
[data-theme="light"] .dark-app-window h6,
[data-theme="light"] .dark-app-window .text-white {
  color: #ffffff !important;
}

.dark-app-window .text-slate-200,
.dark-app-window .text-slate-300,
[data-theme="light"] .dark-app-window .text-slate-200,
[data-theme="light"] .dark-app-window .text-slate-300 {
  color: #e2e8f0 !important;
}

.dark-app-window .text-indigo-400,
[data-theme="light"] .dark-app-window .text-indigo-400 {
  color: #818cf8 !important;
}


[data-theme="light"] .text-tertiary:not(.dark-app-window *):not(footer *) {
  color: #7c3aed !important;
}

/* Gradient Text in Light Mode */
[data-theme="light"] .bg-clip-text {
  background: linear-gradient(135deg, #b45309 0%, #4f46e5 50%, #2563eb 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* 6. Badges, Tags, Pills & Stat Indicators */
[data-theme="light"] .badge-pill,
[data-theme="light"] [class*="rounded-full"][class*="bg-surface-container"],
[data-theme="light"] [class*="label-sm"][class*="bg-surface-container"],
[data-theme="light"] [class*="bg-indigo-950"],
[data-theme="light"] [class*="bg-indigo-900"],
[data-theme="light"] [class*="bg-primary/20"],
[data-theme="light"] [class*="bg-primary/10"],
[data-theme="light"] [class*="bg-brand-deep/80"] {
  background-color: #e0e7ff !important;
  border-color: #c7d2fe !important;
  color: #d97706 !important;
}

[data-theme="light"] [class*="bg-secondary-container"],
[data-theme="light"] [class*="bg-secondary/10"],
[data-theme="light"] [class*="bg-secondary/20"] {
  background-color: #e0f2fe !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
}

[data-theme="light"] [class*="bg-tertiary-container"],
[data-theme="light"] [class*="bg-tertiary/10"],
[data-theme="light"] [class*="bg-tertiary/20"] {
  background-color: #ede9fe !important;
  border-color: #ddd6fe !important;
  color: #7c3aed !important;
}

[data-theme="light"] [class*="text-secondary-fixed"],
[data-theme="light"] .text-secondary-fixed,
[data-theme="light"] [class*="text-secondary"],
[data-theme="light"] .text-secondary {
  color: #0284c7 !important;
}

[data-theme="light"] [class*="text-tertiary"],
[data-theme="light"] .text-tertiary {
  color: #7c3aed !important;
}

[data-theme="light"] [class*="text-primary-fixed"],
[data-theme="light"] .text-primary-fixed,
[data-theme="light"] [class*="text-indigo-300"],
[data-theme="light"] [class*="text-indigo-400"] {
  color: #d97706 !important;
}

[data-theme="light"] .material-symbols-outlined[class*="text-secondary-fixed"],
[data-theme="light"] .material-symbols-outlined[class*="text-secondary"] {
  color: #0284c7 !important;
}

[data-theme="light"] .material-symbols-outlined[class*="text-tertiary"] {
  color: #7c3aed !important;
}

[data-theme="light"] .material-symbols-outlined[class*="text-primary"] {
  color: #d97706 !important;
}

[data-theme="light"] .badge-pill span.bg-primary,
[data-theme="light"] [class*="rounded-full"][class*="bg-surface-container"] span.bg-primary {
  background-color: #d97706 !important;
}

/* Protected white text inside dark photo overlays */
[data-theme="light"] [class*="bg-gradient-to-t"] p,
[data-theme="light"] [class*="bg-gradient-to-t"] span,
[data-theme="light"] .aspect-video [class*="bg-gradient-to-t"] *,
[data-theme="light"] .portfolio-card [class*="bg-cover"] * {
  color: #ffffff !important;
}

/* Map Location Badge Overlay (Crisp Contrast in Both Themes) */
.map-location-badge {
  background-color: rgba(19, 19, 27, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
}

.map-location-badge p:first-child {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.map-location-badge p:last-child {
  color: #94a3b8 !important;
}

[data-theme="light"] .map-location-badge {
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.16), 0 4px 6px -4px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .map-location-badge p:first-child {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="light"] .map-location-badge p:last-child {
  color: #475569 !important;
  font-weight: 500 !important;
}

/* Icon containers */
[data-theme="light"] [class*="rounded-xl"][class*="bg-primary/10"],
[data-theme="light"] [class*="rounded-xl"][class*="bg-primary/20"],
[data-theme="light"] [class*="rounded-xl"][class*="bg-secondary/15"],
[data-theme="light"] [class*="rounded-xl"][class*="bg-secondary-container"],
[data-theme="light"] [class*="rounded-xl"][class*="bg-tertiary-container"] {
  background-color: #eef2ff !important;
  border-color: #c7d2fe !important;
  color: #d97706 !important;
}

/* Global removal of horizontal black lines inside cards across all pages */
.card [class*="border-t"],
.card [class*="border-b"],
.portfolio-card [class*="border-t"],
.portfolio-card [class*="border-b"],
[class*="rounded-2xl"] > div > [class*="border-t"],
[class*="rounded-2xl"] > div > [class*="border-b"],
[class*="rounded-2xl"] > [class*="border-t"],
[class*="rounded-2xl"] > [class*="border-b"],
[class*="rounded-xl"] > div > [class*="border-t"],
[class*="rounded-xl"] > div > [class*="border-b"],
[class*="rounded-xl"] > [class*="border-t"],
[class*="rounded-xl"] > [class*="border-b"],
.bg-surface-container [class*="border-t"],
.bg-surface-container [class*="border-b"],
.border-surface-container-highest.border-t,
.border-surface-container-highest.border-b,
.border-surface-container-high.border-t,
.border-surface-container-high.border-b {
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
}

[data-theme="light"] [class*="border-surface-container-high"]:not(.dark-app-window *):not(footer *),
[data-theme="light"] [class*="border-surface-container-highest"]:not(.dark-app-window *):not(footer *),
[data-theme="light"] [class*="border-surface-container"]:not(.dark-app-window *):not(footer *) {
  border-color: #e2e8f0 !important;
}

/* Step Numbers Contrast in Light Theme */
[data-theme="light"] [class*="text-primary/30"]:not(.dark-app-window *),
[data-theme="light"] [class*="text-primary/20"]:not(.dark-app-window *),
[data-theme="light"] [class*="text-primary/40"]:not(.dark-app-window *) {
  color: #f59e0b !important;
  opacity: 0.85 !important;
}

/* CTA Banner Gradient Fix in Light Theme */
[data-theme="light"] [class*="bg-gradient-to-r"].via-surface-container,
[data-theme="light"] [class*="bg-gradient-to-r"].via-surface,
[data-theme="light"] [class*="bg-gradient-to-r"].from-primary\/20 {
  background: linear-gradient(135deg, #eef2ff 0%, #f1f5f9 50%, #e0f2fe 100%) !important;
}

/* 7. Borders, Outlines & Glows */
[data-theme="light"] .border-brand-border:not(.dark-app-window *):not(footer *),
[data-theme="light"] .border-outline-variant\/20:not(.dark-app-window *):not(footer *),
[data-theme="light"] .border-outline-variant\/30:not(.dark-app-window *):not(footer *),
[data-theme="light"] .border-white\/10:not(.dark-app-window *):not(footer *),
[data-theme="light"] .border-primary\/20:not(.dark-app-window *):not(footer *),
[data-theme="light"] .border-primary\/30:not(.dark-app-window *):not(footer *) {
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .glow-border,
[data-theme="light"] .glow-effect {
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

/* 8. Forms, Inputs & Buttons in Light Mode */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: #94a3b8 !important;
}

/* Primary Gradient CTA Buttons (Light Mode) */
[data-theme="light"] .btn-primary,
[data-theme="light"] a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
[data-theme="light"] button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
[data-theme="light"] button[type="submit"]:not(header *) {
  background: linear-gradient(135deg, #b45309 0%, #4f46e5 45%, #f59e0b 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 16px -2px rgba(67, 56, 202, 0.35), inset 0 1px 0 0 rgba(255, 255, 255, 0.35) !important;
}

[data-theme="light"] .btn-primary *,
[data-theme="light"] a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *) *,
[data-theme="light"] button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *) *,
[data-theme="light"] button[type="submit"]:not(header *) * {
  color: #ffffff !important;
}

[data-theme="light"] .btn-primary:hover,
[data-theme="light"] a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *):hover,
[data-theme="light"] button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *):hover,
[data-theme="light"] button[type="submit"]:not(header *):hover {
  background: linear-gradient(135deg, #92400e 0%, #d97706 45%, #4f46e5 100%) !important;
  box-shadow: 0 8px 24px -2px rgba(67, 56, 202, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
}

/* Secondary Surface & Outline Buttons (Light Mode) */
[data-theme="light"] .btn-secondary,
[data-theme="light"] .btn-outline,
[data-theme="light"] a[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.card):not(.portfolio-card):not([data-filter]):not(.minimal-solution-card),
[data-theme="light"] button[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.theme-toggle-btn):not([data-filter]) {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .btn-secondary:hover,
[data-theme="light"] .btn-outline:hover,
[data-theme="light"] a[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.card):not(.portfolio-card):not(.minimal-solution-card):hover,
[data-theme="light"] button[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.theme-toggle-btn):hover {
  background-color: #f8fafc !important;
  border-color: #f59e0b !important;
  color: #d97706 !important;
  box-shadow: 0 6px 18px rgba(67, 56, 202, 0.15) !important;
}

/* Card Action Buttons (Light Mode) */
[data-theme="light"] a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]) {
  background-color: #d97706 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.28) !important;
}

[data-theme="light"] a[class*="bg-secondary-container"]:not(header *):not(#mobile-menu *) {
  background-color: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28) !important;
}

[data-theme="light"] a[class*="bg-tertiary-container"]:not(header *):not(#mobile-menu *) {
  background-color: #7c3aed !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.28) !important;
}

/* Filter Buttons (Light Mode) */
[data-theme="light"] #portfolio-filters button.bg-primary {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.35) !important;
  border: 1px solid rgba(67, 56, 202, 0.25) !important;
}

[data-theme="light"] #portfolio-filters button:not(.bg-primary) {
  background-color: #ffffff !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] #portfolio-filters button:not(.bg-primary):hover {
  background-color: #f1f5f9 !important;
  border-color: #f59e0b !important;
  color: #0f172a !important;
}

/* 9. Grounded Solid Black Enterprise Footer (NO Dot Matrix Grid in both Light & Dark themes) */
footer,
.site-footer,
[data-theme="light"] footer,
[data-theme="light"] .site-footer {
  background-color: #000000 !important;
  background-image: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  position: relative !important;
  z-index: 20 !important;
}

footer .font-display,
footer h3,
footer h4,
footer strong,
[data-theme="light"] footer .font-display,
[data-theme="light"] footer h3,
[data-theme="light"] footer h4,
[data-theme="light"] footer strong {
  color: #ffffff !important;
}

footer p,
footer li,
footer div:not([class*="bg-black"]):not([class*="rounded"]),
[data-theme="light"] footer p,
[data-theme="light"] footer li,
[data-theme="light"] footer div:not([class*="bg-black"]):not([class*="rounded"]) {
  color: #94a3b8 !important;
}

footer a,
[data-theme="light"] footer a {
  color: #94a3b8 !important;
  transition: color 0.2s ease;
}

footer a:hover,
[data-theme="light"] footer a:hover {
  color: #ffffff !important;
}

footer [class*="text-emerald"],
[data-theme="light"] footer [class*="text-emerald"] {
  color: #34d399 !important;
}

footer .border-brand-border,
footer [class*="border-b"],
footer [class*="border-t"],
[data-theme="light"] footer .border-brand-border,
[data-theme="light"] footer [class*="border-b"],
[data-theme="light"] footer [class*="border-t"] {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="light"] footer .material-symbols-outlined {
  color: #d97706 !important;
}

/* 10. Dedicated Dark App Window Mockup inside Light & Dark Modes */
.dark-app-window {
  background-color: #09090b !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  color: #e4e1ed !important;
}

.dark-app-window,
.dark-app-window * {
  color: #e4e1ed;
}

.dark-app-window .bg-surface-container-lowest,
.dark-app-window .bg-surface-container-low,
.dark-app-window .bg-surface-container,
.dark-app-window .bg-surface,
.dark-app-window .bg-brand-surface\/80,
.dark-app-window .bg-brand-surface\/90,
.dark-app-window .bg-brand-surface {
  background-color: #1f1f27 !important;
  color: #e4e1ed !important;
}

.dark-app-window .bg-surface-container-high {
  background-color: #292934 !important;
  color: #e4e1ed !important;
}

.dark-app-window .bg-surface-container-highest {
  background-color: #323240 !important;
  color: #e4e1ed !important;
}

.dark-app-window h1,
.dark-app-window h2,
.dark-app-window h3,
.dark-app-window h4,
.dark-app-window h5,
.dark-app-window h6,
.dark-app-window .text-white,
.dark-app-window [class*="text-white"] {
  color: #ffffff !important;
}

.dark-app-window p,
.dark-app-window span:not([class*="bg-"]):not([class*="text-primary"]):not([class*="text-secondary"]):not([class*="text-tertiary"]):not([class*="text-emerald"]):not([class*="text-green"]),
.dark-app-window .text-slate-300,
.dark-app-window .text-slate-400,
.dark-app-window .text-slate-500,
.dark-app-window .text-on-surface-variant {
  color: #94a3b8 !important;
}

.dark-app-window .border-brand-border,
.dark-app-window .border-surface-container-highest,
.dark-app-window .border-surface-container-high,
.dark-app-window .border-outline-variant,
.dark-app-window [class*="border-surface-container"] {
  border-color: #34343d !important;
}

/* Neutralize decorative blur glow blobs inside dark app windows */
.dark-app-window .pointer-events-none[class*="blur"],
.dark-app-window [class*="blur-3xl"],
.dark-app-window [class*="blur-2xl"],
.dark-app-window [class*="blur-xl"],
.dark-app-window [class*="blur-lg"],
.dark-app-window [class*="blur-md"],
.dark-app-window [class*="blur"] {
  display: none !important;
  opacity: 0 !important;
  background: transparent !important;
}

/* Preserve dark translucent pill badges inside dark app windows */
.dark-app-window [class*="bg-emerald-500/10"],
.dark-app-window [class*="bg-emerald-500/15"],
.dark-app-window [class*="bg-emerald-500/20"],
.dark-app-window [class*="bg-emerald-950/50"] {
  background-color: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
}

.dark-app-window [class*="bg-primary/10"],
.dark-app-window [class*="bg-primary/15"],
.dark-app-window [class*="bg-primary/20"] {
  background-color: rgba(251, 191, 36, 0.15) !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  color: #fbbf24 !important;
}

.dark-app-window [class*="bg-secondary/10"],
.dark-app-window [class*="bg-secondary/15"],
.dark-app-window [class*="bg-secondary/20"] {
  background-color: rgba(173, 198, 255, 0.15) !important;
  border-color: rgba(173, 198, 255, 0.3) !important;
  color: #adc6ff !important;
}

.dark-app-window [class*="bg-tertiary/10"],
.dark-app-window [class*="bg-tertiary/15"],
.dark-app-window [class*="bg-tertiary/20"] {
  background-color: rgba(208, 188, 255, 0.15) !important;
  border-color: rgba(208, 188, 255, 0.3) !important;
  color: #fde68a !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface-container);
  border: 1px solid var(--border);
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--surface-high);
  border-color: var(--primary);
  transform: translateY(-1px);
}

[data-theme="light"] .theme-toggle-btn {
  color: #d97706;
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-base);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-base);
  color: var(--text-main);
  overflow-x: hidden;
}

::selection {
  background-color: var(--cobalt);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--surface-lowest);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-high);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-container);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-white);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

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

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

ul, ol {
  list-style: none;
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.mesh-gradient {
  background: radial-gradient(at 0% 0%, rgba(217, 119, 6, 0.22) 0px, transparent 50%),
              radial-gradient(at 100% 0%, rgba(251, 146, 60, 0.18) 0px, transparent 50%),
              radial-gradient(at 50% 100%, rgba(5, 102, 217, 0.15) 0px, transparent 50%);
}

.mesh-glow-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(217, 119, 6, 0.12), transparent 70%);
  pointer-events: none;
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 10%, var(--primary) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, var(--primary) 0%, #e9ddff 50%, var(--electric-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges & Pills */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background-color: var(--surface-container);
  border: 1px solid var(--border-glow);
  color: var(--primary);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--glow-primary);
  text-transform: uppercase;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   Comprehensive Enterprise Buttons System (All Pages, Excluding Navbar Items)
   ========================================================================== */

/* ==========================================================================
   Comprehensive Enterprise Buttons System (Sharp Edge Minimalist Style)
   ========================================================================== */

/* ==========================================================================
   Floating WhatsApp Quick Chat Widget (Protected Circular Floating Pill)
   ========================================================================== */
a[aria-label*="WhatsApp"].fixed,
a[href*="wa.me"].fixed {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  border-radius: 9999px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: normal !important;
  background-color: #10b981 !important;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.5), 0 8px 10px -6px rgba(16, 185, 129, 0.3) !important;
  border: 1px solid rgba(110, 231, 183, 0.4) !important;
  z-index: 9999 !important;
}

a[aria-label*="WhatsApp"].fixed:hover,
a[href*="wa.me"].fixed:hover {
  background-color: #34d399 !important;
  transform: scale(1.08) !important;
}

a[aria-label*="WhatsApp"].fixed svg,
a[href*="wa.me"].fixed svg {
  width: 28px !important;
  height: 28px !important;
  fill: #022c22 !important;
}

a[aria-label*="WhatsApp"].fixed span.animate-ping,
a[href*="wa.me"].fixed span.animate-ping {
  border-radius: 9999px !important;
  width: 14px !important;
  height: 14px !important;
}

a[aria-label*="WhatsApp"].fixed span.max-w-0 {
  display: none !important;
}

/* 1. Base Button Standard */
.btn,
a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
a[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.card):not(.portfolio-card):not([data-filter]):not(.minimal-solution-card),
button[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.theme-toggle-btn):not([data-filter]),
button[type="submit"]:not(header *),
a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]),
a[class*="bg-indigo"]:not(header *):not(#mobile-menu *),
a[class*="bg-cyan"]:not(header *):not(#mobile-menu *),
a[class*="bg-amber"]:not(header *):not(#mobile-menu *),
a[class*="bg-purple"]:not(header *):not(#mobile-menu *),
a[class*="bg-blue"]:not(header *):not(#mobile-menu *),
a[class*="bg-emerald"]:not(header *):not(#mobile-menu *):not(.fixed),
#portfolio-filters button,
.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  border-radius: 0px !important; /* Sharp Edges Across All Buttons */
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.22s ease,
              border-color 0.22s ease,
              color 0.22s ease !important;
}

/* 2. Primary Buttons: Sharp White in Dark Mode, Sharp Dark in Light Mode */
.btn-primary,
a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
button[type="submit"]:not(header *),
a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]),
a[class*="bg-indigo"]:not(header *):not(#mobile-menu *) {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #ffffff !important;
  border-radius: 0px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  letter-spacing: -0.01em;
}

.btn-primary *,
a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *) *,
button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *) *,
button[type="submit"]:not(header *) *,
a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]) *,
a[class*="bg-indigo"]:not(header *):not(#mobile-menu *) * {
  color: #0f172a !important;
}

.btn-primary:hover,
a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *):hover,
button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *):hover,
button[type="submit"]:not(header *):hover,
a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]):hover,
a[class*="bg-indigo"]:not(header *):not(#mobile-menu *):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25) !important;
  background: #f1f5f9 !important;
  border-color: #f1f5f9 !important;
  color: #020617 !important;
}

/* 3. Secondary Glass & Surface Buttons (Sharp Outline) */
.btn-secondary,
.btn-outline,
a[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.card):not(.portfolio-card):not([data-filter]):not(.minimal-solution-card),
button[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.theme-toggle-btn):not([data-filter]),
a[class*="bg-cyan"]:not(header *):not(#mobile-menu *),
a[class*="bg-amber"]:not(header *):not(#mobile-menu *),
a[class*="bg-purple"]:not(header *):not(#mobile-menu *),
a[class*="bg-blue"]:not(header *):not(#mobile-menu *),
a[class*="bg-emerald"]:not(header *):not(#mobile-menu *):not(.fixed) {
  border-radius: 0px !important;
}

.btn-secondary,
.btn-outline,
a[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.card):not(.portfolio-card):not([data-filter]):not(.minimal-solution-card),
button[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.theme-toggle-btn):not([data-filter]) {
  background: rgba(22, 23, 34, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.btn-secondary:hover,
.btn-outline:hover,
a[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.card):not(.portfolio-card):not(.minimal-solution-card):hover,
button[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.theme-toggle-btn):hover {
  background: rgba(35, 37, 52, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Light Mode: Primary Button Switches to Sharp Dark, Secondary to Crisp Light */
[data-theme="light"] .btn-primary,
[data-theme="light"] a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
[data-theme="light"] button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
[data-theme="light"] button[type="submit"]:not(header *),
[data-theme="light"] a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]),
[data-theme="light"] a[class*="bg-indigo"]:not(header *):not(#mobile-menu *) {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
  border-radius: 0px !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2) !important;
}

[data-theme="light"] .btn-primary *,
[data-theme="light"] a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *) *,
[data-theme="light"] button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *) *,
[data-theme="light"] button[type="submit"]:not(header *) *,
[data-theme="light"] a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]) *,
[data-theme="light"] a[class*="bg-indigo"]:not(header *):not(#mobile-menu *) * {
  color: #ffffff !important;
}

[data-theme="light"] .btn-primary:hover,
[data-theme="light"] a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *):hover,
[data-theme="light"] button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *):hover,
[data-theme="light"] button[type="submit"]:not(header *):hover,
[data-theme="light"] a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]):hover,
[data-theme="light"] a[class*="bg-indigo"]:not(header *):not(#mobile-menu *):hover {
  background: #1e293b !important;
  border-color: #1e293b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3) !important;
}

[data-theme="light"] .btn-secondary,
[data-theme="light"] .btn-outline,
[data-theme="light"] a[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.card):not(.portfolio-card):not([data-filter]):not(.minimal-solution-card),
[data-theme="light"] button[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.theme-toggle-btn):not([data-filter]) {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 0px !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .btn-secondary:hover,
[data-theme="light"] .btn-outline:hover,
[data-theme="light"] a[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.card):not(.portfolio-card):not(.minimal-solution-card):hover,
[data-theme="light"] button[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.theme-toggle-btn):hover {
  background-color: #f1f5f9 !important;
  border-color: #0f172a !important;
  color: #0f172a !important;
}

/* 4. Card Action Buttons (Inside Solutions, ERP, Distribution, etc.) */
a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]),
a[class*="bg-secondary-container"]:not(header *):not(#mobile-menu *) {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]):hover,
a[class*="bg-secondary-container"]:not(header *):not(#mobile-menu *):hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4) !important;
  opacity: 0.96;
}

/* 5. Filter Category Tabs (Case Studies) */
#portfolio-filters button {
  border-radius: 9999px !important;
  padding: 0.5rem 1.15rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
}

#portfolio-filters button.bg-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

/* Top Information Bar */
.top-bar {
  background-color: var(--bg-deep);
  color: var(--text-dim);
  font-size: 0.775rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar a:hover {
  color: var(--primary);
}

.top-bar-divider {
  color: var(--surface-highest);
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--surface-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-container, .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glow);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
  border-color: var(--primary);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name, .brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-sub, .brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-top: 0.2rem;
}

/* Nav Menu */
.nav-menu, .desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--surface-container);
}

.nav-link.active {
  color: var(--primary);
  background-color: rgba(251, 191, 36, 0.1);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
}

/* Nav Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background-color: var(--surface-container);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 110;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.dropdown-link:hover {
  background-color: var(--surface-high);
  color: var(--text-white);
}

.dropdown-link .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.15rem;
}

/* Mobile Toggle & Drawer */
.mobile-toggle, .mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-menu-drawer, .mobile-nav-drawer {
  display: none;
  background-color: var(--surface-lowest);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}

.mobile-menu-drawer.open, .mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--primary);
  font-weight: 600;
}

/* Cards & Surfaces */
.card {
  background-color: var(--surface-container);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.6), var(--glow-primary);
}

.card-highlight {
  border-color: rgba(251, 191, 36, 0.4);
  background: linear-gradient(180deg, var(--surface-container) 0%, var(--surface-low) 100%);
}

.card-header-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background-color: var(--surface-high);
  border: 1px solid var(--border-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

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

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

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

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  align-items: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 38rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.trust-item {
  background-color: var(--surface-container);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: var(--transition);
}

.trust-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.trust-item-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-item-label {
  font-size: 0.775rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  background-color: var(--surface-container);
  padding: 0.65rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), var(--glow-primary);
}

.hero-visual-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
}

.hero-visual-status {
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  background-color: var(--surface-lowest);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

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

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.feature-item .material-symbols-outlined {
  color: var(--emerald);
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Metric / Stat Box */
.stat-box {
  background-color: var(--surface-container);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Architecture & Diagram Blocks */
.workflow-step {
  background-color: var(--surface-container);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  position: relative;
  transition: var(--transition);
}

.workflow-step:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cobalt), var(--violet));
  color: #ffffff;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Tab Switcher */
.tab-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background-color: var(--surface-container);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: #ffffff;
  border-color: var(--border-glow);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--cobalt), #f59e0b);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--glow-cobalt);
}

/* Forms & Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: var(--surface-lowest);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

/* Case Study / Portfolio Item */
.case-study-card {
  background-color: var(--surface-container);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-study-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.tag-badge {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background-color: var(--surface-high);
  color: var(--primary);
  font-size: 0.725rem;
  font-weight: 600;
}

.case-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.case-metric-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald);
}

.case-metric-txt {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* CTA Banner */
.cta-banner {
  background: radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 0% 100%, rgba(217, 119, 6, 0.2) 0%, transparent 50%),
              var(--surface-container);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-2xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-content {
  max-width: 44rem;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background-color: transparent !important;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.875rem;
  padding-top: 4.5rem;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 0.825rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: 22rem;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.825rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 0.25rem;
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Enterprise Loading Screen Overlay */
.enterprise-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--surface-lowest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
  overflow: hidden;
}

.enterprise-loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-glow-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.25) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: pulse-glow 3s infinite alternate;
}

.loader-stage {
  position: relative;
  z-index: 10;
  max-width: 520px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-emblem-wrap {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: var(--surface-container);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.3);
}

.loader-emblem-img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.loader-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.25em;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.loader-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--secondary);
  margin-bottom: 1.75rem;
}

.loader-progress-wrap {
  width: 100%;
  margin-top: 1rem;
}

.loader-telemetry {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.loader-bar-bg {
  width: 100%;
  height: 6px;
  background-color: var(--surface-high);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary-container), var(--cobalt), var(--primary));
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.7);
  transition: width 0.15s ease-out;
}

.loader-skip-btn {
  margin-top: 1.75rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.loader-skip-btn:hover {
  color: #ffffff;
  border-color: var(--primary);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background-color: var(--surface-container);
  border: 1px solid var(--border-glow);
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--glow-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  pointer-events: auto;
  animation: slide-in-toast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-in-toast {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 90;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--surface-container);
  border: 1px solid var(--border-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--cobalt);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--glow-cobalt);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .nav-menu, .desktop-nav, .nav-item-dropdown {
    display: none !important;
  }
  .mobile-toggle, .mobile-toggle-btn {
    display: inline-flex !important;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-12 {
    grid-template-columns: 1fr;
  }
  .hero-trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ==========================================================================
   SriLions Enterprise Animation Suite
   1. Animated Number Counters
   2. Scroll-Triggered Stagger Reveals
   3. Cursor-Following Spotlight Glow
   4. Live SVG Data-Flow & Dash Animation
   5. Ambient Aurora Mesh Background Drift
   6. Micro-Interactions & Button Polish
   ========================================================================== */

/* 2. Bi-Directional Every-Scroll 3D Card Choreography */
.reveal-init {
  opacity: 0;
  transform: perspective(1150px) translate3d(0, 38px, -26px) rotateX(10deg) scale(0.95);
  transform-origin: center top;
  transition: opacity 0.66s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
              transform 0.72s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms) !important;
  will-change: opacity, transform;
}

.reveal-init.reveal-from-top {
  transform: perspective(1150px) translate3d(0, -34px, -26px) rotateX(-9deg) scale(0.95);
  transform-origin: center bottom;
}

.reveal-init.reveal-visible,
.reveal-init.reveal-from-top.reveal-visible {
  opacity: 1;
  transform: perspective(1150px) translate3d(0, 0, 0) rotateX(0deg) scale(1);
}

.reveal-init.reveal-resetting {
  transition: none !important;
}

.reveal-settled {
  opacity: 1;
  will-change: auto;
}

/* 3. Cursor-Following Spotlight Glow */
.spotlight-card {
  position: relative;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(251, 191, 36, 0.16), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

[data-theme="light"] .spotlight-card::before {
  background: radial-gradient(400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(245, 158, 11, 0.12), transparent 70%);
}

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

/* 4. Live SVG Data-Flow Animation */
.svg-flow-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-chart 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes draw-chart {
  to {
    stroke-dashoffset: 0;
  }
}

.pulse-node {
  animation: pulse-node-glow 2s infinite ease-in-out;
}

@keyframes pulse-node-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.4;
  }
}

/* 5. Ambient Aurora Mesh Background Drift */
@keyframes aurora-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(25px, -15px) scale(1.06);
  }
  100% {
    transform: translate(-15px, 15px) scale(0.97);
  }
}

.mesh-gradient {
  position: relative;
  overflow: hidden;
}

.mesh-gradient::after {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 25% 25%, rgba(245, 158, 11, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 75% 65%, rgba(168, 85, 247, 0.12) 0%, transparent 45%);
  animation: aurora-float 16s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .mesh-gradient::after {
  background: radial-gradient(circle at 25% 25%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 75% 65%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
}

/* 6. Micro-Interactions & Button Polish */
.btn,
a[class*="bg-gradient-to-r"],
button[class*="bg-gradient-to-r"] {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, opacity 0.2s ease !important;
}

.btn:active,
a[class*="bg-gradient-to-r"]:active,
button[class*="bg-gradient-to-r"]:active {
  transform: scale(0.97) !important;
}

.btn:hover .material-symbols-outlined,
a[class*="bg-gradient-to-r"]:hover .material-symbols-outlined,
button[class*="bg-gradient-to-r"]:hover .material-symbols-outlined {
  transform: translateX(4px);
}

.material-symbols-outlined {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reduced-motion override removed so animations always play */

/* ==========================================================================
   Toast Notification System (High Contrast & Clear in Both Themes)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  background-color: #1a1a24;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  animation: toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast .toast-icon {
  font-size: 20px;
  color: #10b981 !important;
}

.toast .toast-message {
  color: #ffffff !important;
}

[data-theme="light"] .toast {
  background-color: #ffffff;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.16), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .toast .toast-icon {
  color: #059669 !important;
}

[data-theme="light"] .toast .toast-message {
  color: #0f172a !important;
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   Sharp 'Talk to Us' Navbar Button
   ========================================================================== */
.talk-to-us-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid #ffffff;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.talk-to-us-btn * {
  color: #0f172a !important;
}

.talk-to-us-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
  background: #f1f5f9 !important;
  border-color: #f1f5f9;
  color: #020617 !important;
}

.talk-to-us-btn:active {
  transform: translateY(0);
}

.talk-to-us-btn .talk-to-us-icon {
  font-size: 15px;
  transition: transform 0.2s ease;
  color: #0f172a !important;
}

.talk-to-us-btn:hover .talk-to-us-icon {
  transform: translateX(3px);
}

.talk-to-us-beacon {
  display: none !important;
}

/* Light Theme: Sharp Dark Button */
[data-theme="light"] .talk-to-us-btn {
  background: #0f172a !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
  border: 1px solid #0f172a;
  color: #ffffff !important;
  border-radius: 0px !important;
}

[data-theme="light"] .talk-to-us-btn * {
  color: #ffffff !important;
}

[data-theme="light"] .talk-to-us-btn:hover {
  background: #1e293b !important;
  border-color: #1e293b;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
  color: #ffffff !important;
}

/* ==========================================================================
   Navigation Dropdown (BizManage-PRO Suite Menu)
   ========================================================================== */
header, .site-header, header > div, header nav {
  overflow: visible !important;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible !important;
}

.nav-dropdown-toggle {
  user-select: none;
}

.nav-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  min-width: 260px !important;
  background: #191a26 !important;
  background-color: rgba(22, 23, 33, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 18px !important;
  padding: 8px !important;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.25) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  z-index: 99999 !important;
}

/* Bridge hover gap so mouse can move smoothly into the menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.group:hover .nav-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  display: block !important;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #cbd5e1 !important;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-item span {
  color: #cbd5e1 !important;
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  transform: translateX(4px);
}

.nav-dropdown-item:hover span {
  color: #ffffff !important;
}

.nav-dropdown-item .dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.nav-dropdown-item:hover .dropdown-item-icon {
  transform: scale(1.1);
}

/* Light Theme Navigation Dropdown Override - High Contrast Fix */
[data-theme="light"] .nav-dropdown-menu,
html[data-theme="light"] .nav-dropdown-menu {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.18), 0 0 1px 1px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .nav-dropdown-item,
[data-theme="light"] .nav-dropdown-item *,
html[data-theme="light"] .nav-dropdown-item,
html[data-theme="light"] .nav-dropdown-item * {
  color: #1e293b !important;
  background-color: transparent;
}

[data-theme="light"] .nav-dropdown-item:hover,
html[data-theme="light"] .nav-dropdown-item:hover {
  background-color: #f1f5f9 !important;
}

[data-theme="light"] .nav-dropdown-item:hover,
[data-theme="light"] .nav-dropdown-item:hover *,
html[data-theme="light"] .nav-dropdown-item:hover,
html[data-theme="light"] .nav-dropdown-item:hover * {
  color: #d97706 !important;
}

[data-theme="light"] .nav-dropdown-item .dropdown-item-icon,
html[data-theme="light"] .nav-dropdown-item .dropdown-item-icon {
  background-color: #f1f5f9 !important;
}

[data-theme="light"] .nav-dropdown-item:hover .dropdown-item-icon,
html[data-theme="light"] .nav-dropdown-item:hover .dropdown-item-icon {
  background-color: #e0e7ff !important;
}

/* Right-to-Left Infinite Card Marquee Scroll Animation */
@keyframes marqueeScrollRightToLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-scroll {
  display: flex;
  width: max-content;
  animation: marqueeScrollRightToLeft 35s linear infinite;
  will-change: transform;
}

.animate-marquee-scroll:hover {
  animation-play-state: paused;
}

/* Navbar Search Target Highlight Animation */
@keyframes searchTargetPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.8), 0 0 35px rgba(245, 158, 11, 0.7);
    border-color: rgba(251, 191, 36, 1);
    transform: scale(1.02);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(251, 191, 36, 0.25), 0 0 45px rgba(251, 146, 60, 0.9);
    border-color: rgba(251, 146, 60, 1);
    transform: scale(1.02);
  }
  100% {
    box-shadow: none;
    transform: scale(1);
  }
}

.search-target-highlight {
  animation: searchTargetPulse 2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  scroll-margin-top: 100px;
}

/* Custom Styled Select Dropdown Menus with Curved Edges */
.custom-select-wrapper {
  position: relative;
  display: block;
}

.custom-select-trigger {
  border-radius: 1rem !important;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.custom-select-options {
  border-radius: 1.25rem !important;
  border: 1px solid rgba(251, 191, 36, 0.25) !important;
  background-color: #191923 !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(251, 191, 36, 0.1) !important;
  overflow: hidden;
}

.custom-select-option {
  border-radius: 0.75rem !important;
}

/* Light Theme Custom Select Styling */
[data-theme="light"] .custom-select-trigger {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .custom-select-options {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.18), 0 0 1px 1px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .custom-select-option {
  color: #334155 !important;
}

[data-theme="light"] .custom-select-option:hover {
  background-color: #e0e7ff !important;
  color: #d97706 !important;
}

[data-theme="light"] .custom-select-option.bg-primary\/20 {
  background-color: #e0e7ff !important;
  color: #d97706 !important;
}

/* ==========================================================================
   Comprehensive Mobile Layout Alignment & Anti-Overflow Engine
   Prevents horizontal scrolling, right-side white/black gaps, and mobile misalignments
   across all pages & device viewports (320px - 768px).
   ========================================================================== */

html {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box;
}

body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*, ::before, ::after {
  box-sizing: border-box;
}

/* Force container section boundaries so fixed-width elements or background glow blobs cannot expand body width */
header,
main,
footer,
section,
.container {
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Auto-clip horizontal overflow on all major layout sections & background glow wrappers */
section,
main,
header,
footer,
.mesh-gradient {
  overflow-x: hidden;
}

/* Ensure images, svgs, videos, and tables never cause overflow */
img, svg, video, iframe {
  max-width: 100%;
}

table {
  max-width: 100%;
}

/* Top Announcement Banner Responsive Styling */
.top-announcement-banner {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Header & Responsive Layout Rules (<640px) */
@media (max-width: 639px) {
  /* Prevent header container from bursting mobile screen edges */
  header .h-20 {
    height: 4rem !important;
    gap: 0.35rem !important;
  }

  /* Compact header inner horizontal padding */
  header div[class*="px-"],
  header .max-w-\[1536px\] {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* Compact right CTA action buttons container gap */
  header div.flex.items-center.gap-3,
  header .shrink-0.flex.items-center {
    gap: 0.35rem !important;
  }

  /* Compact brand logo header & icon size on small screens */
  header a.group.shrink-0 {
    gap: 0.4rem !important;
    max-width: 52% !important;
  }

  header a.group.shrink-0 div.h-11.w-11,
  header a.group.shrink-0 div[class*="w-11"] {
    width: 2.15rem !important; /* 34px */
    height: 2.15rem !important; /* 34px */
    min-width: 2.15rem !important;
  }

  header .font-display.text-xl {
    font-size: 0.95rem !important;
    line-height: 1 !important;
  }

  header .text-\[11px\] {
    font-size: 8px !important;
    letter-spacing: 0.01em !important;
    margin-top: 1px !important;
    white-space: nowrap !important;
  }

  /* Scale down header action buttons so Talk to Us + Theme + Hamburger fit perfectly */
  .theme-toggle-btn {
    width: 2.15rem !important; /* 34px */
    height: 2.15rem !important; /* 34px */
    min-width: 2.15rem !important;
    padding: 0 !important;
  }

  .theme-toggle-btn .material-symbols-outlined {
    font-size: 17px !important;
  }

  .mobile-toggle-btn {
    width: 2.15rem !important; /* 34px */
    height: 2.15rem !important; /* 34px */
    min-width: 2.15rem !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  .mobile-toggle-btn .material-symbols-outlined {
    font-size: 20px !important;
  }

  .talk-to-us-btn {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.7rem !important;
    gap: 0.2rem !important;
    white-space: nowrap !important;
  }

  .talk-to-us-btn .talk-to-us-icon {
    font-size: 12px !important;
  }

  /* Fix grid and flex container paddings on phone screens */
  .px-4, .px-6, .px-8 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Ensure mobile drawer spans full width without clipping */
  #mobile-menu {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure card grids & flex wrappers fit smoothly within 100% viewport width */
  .grid {
    max-width: 100% !important;
  }

  /* Slider cards fit within mobile width */
  .animate-marquee-scroll > div {
    max-width: 85vw !important;
  }
}

/* Extra small mobile devices (<380px) */
@media (max-width: 379px) {
  header .text-\[11px\] {
    display: none !important; /* Hide subtitle on tiny screens so logo remains ultra compact */
  }

  header .font-display.text-xl {
    font-size: 0.9rem !important;
  }

  .talk-to-us-btn {
    padding: 0.3rem 0.45rem !important;
    font-size: 0.65rem !important;
  }
}





/* Mobile Menu Drawer Toggle Rule */
#mobile-menu.open,
.mobile-menu-drawer.open,
.mobile-nav-drawer.open {
  display: block !important;
}


/* ==========================================================================
   Desktop Navigation Dropdown (.nav-dropdown-menu) Complete Fix
   High-specificity rules to guarantee 100% visibility in Light & Dark Mode
   ========================================================================== */

/* DARK MODE DEFAULT */
header .nav-dropdown-menu,
.nav-dropdown-menu {
  background-color: #131420 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(251, 191, 36, 0.09) !important;
}

header .nav-dropdown-menu a.nav-dropdown-item,
header .nav-dropdown-menu a.nav-dropdown-item *,
.nav-dropdown-menu a.nav-dropdown-item,
.nav-dropdown-menu a.nav-dropdown-item * {
  color: #e2e8f0 !important;
}

header .nav-dropdown-menu a.nav-dropdown-item:hover,
.nav-dropdown-menu a.nav-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

header .nav-dropdown-menu a.nav-dropdown-item:hover,
header .nav-dropdown-menu a.nav-dropdown-item:hover *,
.nav-dropdown-menu a.nav-dropdown-item:hover,
.nav-dropdown-menu a.nav-dropdown-item:hover * {
  color: #ffffff !important;
}

/* LIGHT MODE OVERRIDES - High Specificity */
[data-theme="light"] header .nav-dropdown-menu,
[data-theme="light"] .nav-dropdown-menu,
html[data-theme="light"] header .nav-dropdown-menu,
html[data-theme="light"] .nav-dropdown-menu {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.2), 0 0 1px 1px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item,
[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item *,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item *,
html[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item,
html[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item * {
  color: #0f172a !important;
  background-color: transparent !important;
}

[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item:hover,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item:hover,
html[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item:hover {
  background-color: #e0e7ff !important;
  background: #e0e7ff !important;
}

[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item:hover,
[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item:hover *,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item:hover,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item:hover *,
html[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item:hover,
html[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item:hover * {
  color: #b45309 !important;
}

[data-theme="light"] .dropdown-item-icon,
html[data-theme="light"] .dropdown-item-icon {
  background-color: #eef2ff !important;
}

/* ==========================================================================
   LIGHT MODE HIGH-CONTRAST ACCENT & DARK CONTAINER PROTECTIONS
   ========================================================================== */

/* High contrast accent colors for light theme */
[data-theme="light"] body:not(.dark-app-window) .text-amber-400,
html[data-theme="light"] body:not(.dark-app-window) .text-amber-400 {
  color: #d97706 !important;
}

[data-theme="light"] body:not(.dark-app-window) .text-amber-300,
html[data-theme="light"] body:not(.dark-app-window) .text-amber-300 {
  color: #b45309 !important;
}

[data-theme="light"] body:not(.dark-app-window) .text-emerald-400,
html[data-theme="light"] body:not(.dark-app-window) .text-emerald-400 {
  color: #047857 !important;
}

/* Ensure dark application windows and CTA containers maintain dark mode legibility in light mode */
[data-theme="light"] .dark-app-window,
html[data-theme="light"] .dark-app-window {
  background-color: #0b0c16 !important;
  color: #f8fafc !important;
}

[data-theme="light"] .dark-app-window .text-amber-400,
html[data-theme="light"] .dark-app-window .text-amber-400 {
  color: #fbbf24 !important;
}

[data-theme="light"] .dark-app-window .text-amber-300,
html[data-theme="light"] .dark-app-window .text-amber-300 {
  color: #fcd34d !important;
}

[data-theme="light"] .dark-app-window .text-emerald-400,
html[data-theme="light"] .dark-app-window .text-emerald-400 {
  color: #34d399 !important;
}

[data-theme="light"] .dark-app-window .text-emerald-300,
html[data-theme="light"] .dark-app-window .text-emerald-300 {
  color: #6ee7b7 !important;
}

[data-theme="light"] .dark-app-window .text-white,
html[data-theme="light"] .dark-app-window .text-white {
  color: #ffffff !important;
}

[data-theme="light"] .dark-app-window .text-slate-200,
html[data-theme="light"] .dark-app-window .text-slate-200 {
  color: #e2e8f0 !important;
}

[data-theme="light"] .dark-app-window .text-slate-300,
html[data-theme="light"] .dark-app-window .text-slate-300 {
  color: #cbd5e1 !important;
}

[data-theme="light"] .dark-app-window .text-slate-400,
html[data-theme="light"] .dark-app-window .text-slate-400 {
  color: #94a3b8 !important;
}

/* ==========================================================================
   PRIMARY & GRADIENT CTA BUTTON TEXT CONTRAST GUARANTEE
   ========================================================================== */

/* Ensure all filled primary action buttons retain bright crisp white text in Light & Dark mode and disable default outline boxes */
a[class*="bg-gradient-to-r"],
a[class*="bg-gradient-to-r"] *,
a[class*="bg-emerald"],
a[class*="bg-emerald"] *,
a[class*="bg-amber"],
a[class*="bg-amber"] *,
.btn-primary,
.btn-primary * {
  color: #ffffff !important;
  outline: none !important;
}

a[class*="bg-gradient-to-r"]:focus,
a[class*="bg-emerald"]:focus,
a[class*="bg-amber"]:focus,
a.talk-to-us-btn:focus,
.btn-primary:focus {
  outline: none !important;
}

/* Dark app window pill badges & buttons contrast guarantee */
.dark-app-window [class*="bg-amber"],
.dark-app-window [class*="text-amber-400"],
[data-theme="light"] .dark-app-window [class*="text-amber-400"] {
  color: #fbbf24 !important;
}

.dark-app-window a[class*="bg-surface-container"],
[data-theme="light"] .dark-app-window a[class*="bg-surface-container"] {
  background-color: #1f1f27 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.dark-app-window a[class*="bg-surface-container"] *,
[data-theme="light"] .dark-app-window a[class*="bg-surface-container"] * {
  color: #ffffff !important;
}

/* Navbar Dropdown Menu Vibrant Icon Colors Guarantee */
.dropdown-item-icon[class*="bg-indigo-500"],
[data-theme="light"] .dropdown-item-icon[class*="bg-indigo-500"] {
  background-color: rgba(245, 158, 11, 0.18) !important;
  color: #818cf8 !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

.dropdown-item-icon[class*="bg-cyan-500"],
[data-theme="light"] .dropdown-item-icon[class*="bg-cyan-500"] {
  background-color: rgba(6, 182, 212, 0.18) !important;
  color: #22d3ee !important;
  border-color: rgba(6, 182, 212, 0.35) !important;
}

.dropdown-item-icon[class*="bg-purple-500"],
[data-theme="light"] .dropdown-item-icon[class*="bg-purple-500"] {
  background-color: rgba(168, 85, 247, 0.18) !important;
  color: #c084fc !important;
  border-color: rgba(168, 85, 247, 0.35) !important;
}

.dropdown-item-icon[class*="bg-orange-500"],
[data-theme="light"] .dropdown-item-icon[class*="bg-orange-500"] {
  background-color: rgba(249, 115, 22, 0.18) !important;
  color: #fb923c !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
}

.dropdown-item-icon[class*="bg-emerald-500"],
[data-theme="light"] .dropdown-item-icon[class*="bg-emerald-500"] {
  background-color: rgba(16, 185, 129, 0.18) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}

.dropdown-item-icon[class*="bg-amber-500"],
[data-theme="light"] .dropdown-item-icon[class*="bg-amber-500"] {
  background-color: rgba(245, 158, 11, 0.18) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

/* Mobile Navigation Toggle & Close Button Theme Standards */
#mobile-toggle,
.mobile-toggle,
.mobile-toggle-btn {
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface-container);
  border: 1px solid var(--border);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  outline: none !important;
}

@media (min-width: 1024px) {
  #mobile-toggle,
  .mobile-toggle,
  .mobile-toggle-btn {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  header nav {
    display: none !important;
  }
  #mobile-toggle,
  .mobile-toggle,
  .mobile-toggle-btn {
    display: inline-flex !important;
  }
}

@media (min-width: 1024px) {
  #mobile-menu,
  .mobile-toggle-btn {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

#mobile-toggle:hover,
.mobile-toggle:hover,
.mobile-toggle-btn:hover {
  background: var(--surface-high);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

[data-theme="light"] #mobile-toggle,
[data-theme="light"] .mobile-toggle,
[data-theme="light"] .mobile-toggle-btn,
html[data-theme="light"] #mobile-toggle,
html[data-theme="light"] .mobile-toggle,
html[data-theme="light"] .mobile-toggle-btn {
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] #mobile-toggle .material-symbols-outlined,
[data-theme="light"] .mobile-toggle .material-symbols-outlined,
[data-theme="light"] .mobile-toggle-btn .material-symbols-outlined,
html[data-theme="light"] #mobile-toggle .material-symbols-outlined {
  color: #0f172a !important;
}

[data-theme="light"] #mobile-toggle:hover,
[data-theme="light"] .mobile-toggle:hover,
[data-theme="light"] .mobile-toggle-btn:hover,
html[data-theme="light"] #mobile-toggle:hover,
html[data-theme="light"] .mobile-toggle:hover,
html[data-theme="light"] .mobile-toggle-btn:hover {
  background-color: #e2e8f0 !important;
  color: #d97706 !important;
  border-color: #f59e0b !important;
}

[data-theme="light"] #mobile-toggle:hover .material-symbols-outlined,
[data-theme="light"] .mobile-toggle:hover .material-symbols-outlined,
[data-theme="light"] .mobile-toggle-btn:hover .material-symbols-outlined {
  color: #d97706 !important;
}

/* Guaranteed Fixed Sticky Locked Navbar Header */
html, body {
  overflow-x: clip !important;
}

header,
header.sticky {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* -------------------------------------------------------------
 * Video Duration Timestamp Badges (Light & Dark Theme Safe)
 * ------------------------------------------------------------- */
.video-duration-badge,
[data-theme="light"] .video-duration-badge,
html[data-theme="light"] .video-duration-badge {
  background-color: rgba(15, 23, 42, 0.92) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

/* -------------------------------------------------------------
 * Filter Category Tab Buttons (Light & Dark Theme Safe)
 * ------------------------------------------------------------- */
.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.125rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  background-color: #1f1f27;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover {
  background-color: #292934;
  color: #ffffff;
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-1px);
}

.tab-btn.active,
.tab-btn.active:hover {
  background-color: #d97706 !important;
  color: #09090b !important;
  border-color: #f59e0b !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45) !important;
}

/* Light Mode Overrides for Filter Tabs */
[data-theme="light"] .tab-btn,
html[data-theme="light"] .tab-btn {
  background-color: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .tab-btn:hover,
html[data-theme="light"] .tab-btn:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #f59e0b !important;
}

[data-theme="light"] .tab-btn.active,
[data-theme="light"] .tab-btn.active:hover,
html[data-theme="light"] .tab-btn.active,
html[data-theme="light"] .tab-btn.active:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  border-color: #92400e !important;
  box-shadow: 0 4px 16px rgba(67, 56, 202, 0.35) !important;
}

/* -------------------------------------------------------------
 * Modern YouTube "Visit Channel" & "Watch on YouTube" Glass Pills
 * ------------------------------------------------------------- */
.yt-subscribe-btn,
a.yt-subscribe-btn,
button.yt-subscribe-btn,
#videos-grid a[href*="youtube.com/watch"] {
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #f4f4f5 !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  font-weight: 600 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.45) !important;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.24s ease,
              border-color 0.24s ease,
              box-shadow 0.24s ease !important;
}

#videos-grid a[href*="youtube.com/watch"] {
  padding: 0.5rem 1rem !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.yt-subscribe-btn *,
#videos-grid a[href*="youtube.com/watch"] * {
  color: #f4f4f5 !important;
}

.yt-subscribe-btn .material-symbols-outlined,
#videos-grid a[href*="youtube.com/watch"] .material-symbols-outlined {
  color: #ef4444 !important;
}

.yt-subscribe-btn:hover,
#videos-grid a[href*="youtube.com/watch"]:hover {
  background: rgba(239, 68, 68, 0.14) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(239, 68, 68, 0.28) !important;
}

.yt-subscribe-btn:hover *,
#videos-grid a[href*="youtube.com/watch"]:hover * {
  color: #ffffff !important;
}

[data-theme="light"] .yt-subscribe-btn,
html[data-theme="light"] .yt-subscribe-btn,
[data-theme="light"] #videos-grid a[href*="youtube.com/watch"],
html[data-theme="light"] #videos-grid a[href*="youtube.com/watch"] {
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  color: #18181b !important;
  box-shadow: 0 2px 10px -3px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .yt-subscribe-btn *,
html[data-theme="light"] .yt-subscribe-btn *,
[data-theme="light"] #videos-grid a[href*="youtube.com/watch"] *,
html[data-theme="light"] #videos-grid a[href*="youtube.com/watch"] * {
  color: #18181b !important;
}

[data-theme="light"] .yt-subscribe-btn .material-symbols-outlined,
[data-theme="light"] #videos-grid a[href*="youtube.com/watch"] .material-symbols-outlined {
  color: #dc2626 !important;
}

[data-theme="light"] .yt-subscribe-btn:hover,
html[data-theme="light"] .yt-subscribe-btn:hover,
[data-theme="light"] #videos-grid a[href*="youtube.com/watch"]:hover,
html[data-theme="light"] #videos-grid a[href*="youtube.com/watch"]:hover {
  background: rgba(239, 68, 68, 0.08) !important;
  border-color: rgba(220, 38, 38, 0.4) !important;
  color: #dc2626 !important;
}





/* -------------------------------------------------------------
 * Contact Page Cards Light & Dark Mode Polish
 * ------------------------------------------------------------- */
[data-theme="light"] .contact-card,
html[data-theme="light"] .contact-card {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .contact-card h3,
html[data-theme="light"] .contact-card h3 {
  color: #0f172a !important;
}

[data-theme="light"] .contact-card p,
html[data-theme="light"] .contact-card p {
  color: #475569 !important;
}

[data-theme="light"] .contact-card .text-indigo-400,
html[data-theme="light"] .contact-card .text-indigo-400 {
  color: #d97706 !important;
}

[data-theme="light"] .contact-card .text-emerald-400,
html[data-theme="light"] .contact-card .text-emerald-400 {
  color: #047857 !important;
}

[data-theme="light"] .contact-card .text-purple-400,
html[data-theme="light"] .contact-card .text-purple-400 {
  color: #6b21a8 !important;
}

[data-theme="light"] .contact-card .text-amber-400,
html[data-theme="light"] .contact-card .text-amber-400 {
  color: #b45309 !important;
}

[data-theme="light"] .contact-card .bg-emerald-600,
html[data-theme="light"] .contact-card .bg-emerald-600 {
  background-color: #059669 !important;
  color: #ffffff !important;
}

/* -------------------------------------------------------------
 * Video Category Thumbnail Badges (Light & Dark Theme Contrast Guarantee)
 * ------------------------------------------------------------- */
.video-badge-pill,
[data-theme="light"] .video-badge-pill,
html[data-theme="light"] .video-badge-pill {
  background-color: rgba(15, 23, 42, 0.95) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
}

.video-badge-pill *,
[data-theme="light"] .video-badge-pill *,
html[data-theme="light"] .video-badge-pill * {
  color: #ffffff !important;
}

/* Category Specific Accent Borders & Colors */
.video-badge-finance,
[data-theme="light"] .video-badge-finance,
html[data-theme="light"] .video-badge-finance {
  border-color: rgba(245, 158, 11, 0.85) !important;
}

.video-badge-finance *,
[data-theme="light"] .video-badge-finance *,
html[data-theme="light"] .video-badge-finance * {
  color: #fbbf24 !important;
}

.video-badge-erp,
[data-theme="light"] .video-badge-erp,
html[data-theme="light"] .video-badge-erp {
  border-color: rgba(129, 140, 248, 0.85) !important;
}

.video-badge-erp *,
[data-theme="light"] .video-badge-erp *,
html[data-theme="light"] .video-badge-erp * {
  color: #a5b4fc !important;
}

.video-badge-construction,
[data-theme="light"] .video-badge-construction,
html[data-theme="light"] .video-badge-construction {
  border-color: rgba(249, 115, 22, 0.85) !important;
}

.video-badge-construction *,
[data-theme="light"] .video-badge-construction *,
html[data-theme="light"] .video-badge-construction * {
  color: #fb923c !important;
}

/* -------------------------------------------------------------
 * Video Cards & Action Buttons (Light Theme Contrast Rules)
 * ------------------------------------------------------------- */
[data-theme="light"] .video-card h3,
[data-theme="light"] .video-card h3 button,
html[data-theme="light"] .video-card h3,
html[data-theme="light"] .video-card h3 button {
  color: #0f172a !important;
}

[data-theme="light"] .video-card h3:hover,
[data-theme="light"] .video-card h3 button:hover,
html[data-theme="light"] .video-card h3:hover,
html[data-theme="light"] .video-card h3 button:hover {
  color: #d97706 !important;
}

[data-theme="light"] .video-card p,
html[data-theme="light"] .video-card p {
  color: #475569 !important;
}

/* Red Play & YouTube Action Buttons (Always White Text & White Icons) */
.bg-red-600,
.bg-red-700,
.bg-red-500,
.yt-subscribe-btn,
[data-theme="light"] .bg-red-600,
[data-theme="light"] .bg-red-700,
[data-theme="light"] .bg-red-500,
[data-theme="light"] .yt-subscribe-btn,
html[data-theme="light"] .bg-red-600,
html[data-theme="light"] .bg-red-700,
html[data-theme="light"] .bg-red-500,
html[data-theme="light"] .yt-subscribe-btn {
  color: #ffffff !important;
}

.bg-red-600 *,
.bg-red-700 *,
.bg-red-500 *,
.yt-subscribe-btn *,
[data-theme="light"] .bg-red-600 *,
[data-theme="light"] .bg-red-700 *,
[data-theme="light"] .bg-red-500 *,
[data-theme="light"] .yt-subscribe-btn *,
html[data-theme="light"] .bg-red-600 *,
html[data-theme="light"] .bg-red-700 *,
html[data-theme="light"] .bg-red-500 *,
html[data-theme="light"] .yt-subscribe-btn * {
  color: #ffffff !important;
}

/* Announcement Banner YouTube Link Light Theme Fix */
[data-theme="light"] .top-announcement-banner a,
html[data-theme="light"] .top-announcement-banner a {
  color: #dc2626 !important;
}



/* ==========================================================================
   Design System Typography Scale Definitions
   ========================================================================== */
.font-headline-xl {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

.font-headline-lg {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em !important;
}

.font-headline-md {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
}

.font-headline-sm {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.font-body-lg {
  font-size: 1.125rem !important;
  line-height: 1.7 !important;
}

.font-body-md {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

.font-body-sm {
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
}

.font-label-md {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.025em !important;
}

.font-label-sm {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
}


/* ==========================================================================
   Navbar Search Box & Results Dropdown (Dark & Light Theme)
   ========================================================================== */

/* Input Field Light Theme */
[data-theme="light"] .navbar-search-input {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .navbar-search-input::placeholder {
  color: #64748b !important;
}

[data-theme="light"] .navbar-search-input:focus {
  border-color: #d97706 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

/* Results Dropdown Menu Light Theme */
[data-theme="light"] .navbar-search-results {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .navbar-search-results .search-header-pill {
  background-color: #e0e7ff !important;
  color: #b45309 !important;
}

[data-theme="light"] .navbar-search-results .search-title-text {
  color: #0f172a !important;
}

[data-theme="light"] .navbar-search-results .search-sub-text {
  color: #64748b !important;
}

[data-theme="light"] .navbar-search-results .search-item-hover:hover {
  background-color: #f1f5f9 !important;
}

[data-theme="light"] .navbar-search-results .search-icon-primary {
  color: #d97706 !important;
}

[data-theme="light"] .navbar-search-results .search-icon-secondary {
  color: #0284c7 !important;
}


/* ==========================================================================
   Core Layout Container Utilities (Guarantees Centered Content Even Without Tailwind CDN)
   ========================================================================== */

/* Universal Centering Container */
.max-w-7xl {
  max-width: 80rem !important; /* 1280px */
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.max-w-6xl {
  max-width: 72rem !important; /* 1152px */
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.max-w-5xl {
  max-width: 64rem !important; /* 1024px */
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.max-w-4xl {
  max-width: 56rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.max-w-3xl {
  max-width: 48rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.max-w-2xl {
  max-width: 42rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.max-w-xl {
  max-width: 36rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

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

.w-full {
  width: 100% !important;
}

/* Ensure Sections & Mains occupy full width and center internal containers */
main, section, header, footer {
  width: 100% !important;
  box-sizing: border-box !important;
}



/* ==========================================================================
   UNIFIED HARMONIOUS BACKGROUND CANVAS (Zero Clashing Background Blocks)
   ========================================================================== */

/* Dark Mode Base & Section Harmonization with Clean Obsidian Canvas */
html,
body {
  background-color: #09090b !important;
  background-image: none !important;
  color: #f4f4f5 !important;
}

/* Also ensure the featured launch slider banner displays cleanly without dot matrix */
.launch-slider-container {
  background-image: none !important;
}

/* Ensure ALL elements with dark bg utility classes are transparent so body dot pattern shows through */
main,
section,
div:not(.dark-app-window):not(.dark-app-window *) {
  /* Allow body dot pattern to bleed through - only target bg-brand-* classes */
}

/* Dark mode: strip solid backgrounds from ALL sections/divs using dark brand colors (EXCLUDING FOOTER) */
.bg-brand-surface:not(.dark-app-window):not(.dark-app-window *):not(header):not(nav):not(.nav-dropdown-menu):not(footer):not(footer *):not([class*="card"]):not([class*="modal"]):not(input):not(textarea):not(select):not(button) {
  background-color: transparent !important;
}

/* bg-brand-deep — transparent so body dot pattern shows through everywhere, but NEVER in footer */
.bg-brand-deep:not(.dark-app-window):not(.dark-app-window *):not(header):not(nav):not(.nav-dropdown-menu):not(footer):not(footer *):not([class*="card"]):not([class*="modal"]):not(input):not(textarea):not(select):not(button),
.bg-brand-navy:not(.dark-app-window):not(.dark-app-window *):not(header):not(nav):not(.nav-dropdown-menu):not(footer):not(footer *):not([class*="card"]):not([class*="modal"]):not(input):not(textarea):not(select):not(button) {
  background-color: transparent !important;
}

main {
  background-color: transparent !important;
}

section {
  background-color: transparent !important;
}

/* Subtle, smooth mesh gradient that fades seamlessly into the section background */
.mesh-gradient {
  background: radial-gradient(at 0% 0%, rgba(217, 119, 6, 0.15) 0px, transparent 60%),
              radial-gradient(at 100% 0%, rgba(251, 146, 60, 0.12) 0px, transparent 60%),
              radial-gradient(at 50% 100%, rgba(5, 102, 217, 0.10) 0px, transparent 60%) !important;
}

/* Light Mode Unified Harmonization */
[data-theme="light"] html,
[data-theme="light"] body,
html[data-theme="light"],
html[data-theme="light"] body {
  background-color: #f8fafc !important;
  background-image: none !important;
  color: #0f172a !important;
}

[data-theme="light"] #featured-launches .launch-slider-container,
[data-theme="light"] #latest-launches .launch-slider-container,
[data-theme="light"] .launch-slider-container {
  background-color: #ffffff !important;
  background-image: none !important;
}

[data-theme="light"] section.bg-brand-surface,
[data-theme="light"] section.bg-surface,
[data-theme="light"] section.bg-surface-dim,
[data-theme="light"] section.bg-surface-container-lowest {
  background-color: transparent !important;
}

[data-theme="light"] section.bg-brand-deep,
[data-theme="light"] section.bg-surface-container-low {
  background-color: rgba(241, 245, 249, 0.8) !important;
  backdrop-filter: blur(8px);
}

[data-theme="light"] .mesh-gradient {
  background: radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.05) 0px, transparent 60%),
              radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.04) 0px, transparent 60%) !important;
}

/* ==========================================================================
   COMPACT SLEEK GLASS-EFFECT NAVBAR (Dark & Light Mode)
   ========================================================================== */

/* Dark Mode Glass Header */
header.sticky,
header.sticky.top-0,
header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1000 !important;
  background: rgba(19, 19, 27, 0.72) !important;
  background-color: rgba(19, 19, 27, 0.72) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition: all 0.25s ease-in-out !important;
}

/* Light Mode Glass Header */
[data-theme="light"] header.sticky,
[data-theme="light"] header.sticky.top-0,
[data-theme="light"] header,
html[data-theme="light"] header.sticky,
html[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.75) !important;
  background-color: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* Compact Height & Proportions for Slim Navbar */
header .h-20,
header .h-16 {
  height: 60px !important;
  min-height: 60px !important;
}

/* Slim Nav Links */
header nav > a,
header nav .nav-dropdown-toggle {
  padding: 0.35rem 0.75rem !important;
  font-size: 0.8125rem !important; /* 13px */
  line-height: 1.25rem !important;
}

/* Compact Brand Logo and Subtitle */
header .font-display.font-extrabold.text-xl {
  font-size: 1.125rem !important; /* 18px */
}

/* Compact Action Buttons in Header */
header .theme-toggle-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 10px !important;
}

header .theme-toggle-btn .material-symbols-outlined {
  font-size: 18px !important;
}

header .talk-to-us-btn {
  padding: 0.4rem 0.9rem !important;
  font-size: 0.8125rem !important;
  gap: 0.4rem !important;
}

header .talk-to-us-btn .talk-to-us-icon {
  font-size: 14px !important;
}

header .navbar-search-input {
  height: 32px !important;
  font-size: 12px !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

/* Dropdown glass effect */
header .nav-dropdown-menu {
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  background-color: rgba(19, 20, 32, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}

[data-theme="light"] header .nav-dropdown-menu,
html[data-theme="light"] header .nav-dropdown-menu {
  background-color: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(15, 23, 42, 0.05) !important;
}




/* ==========================================================================
   CRYSTAL CLEAR HIGH-CONTRAST DROPDOWN MENUS (Dark & Light Mode)
   ========================================================================== */

/* DARK MODE: Solid high-contrast deep background, crisp borders & bright readable text */
header .nav-dropdown-menu,
.nav-dropdown-menu {
  background: #11121c !important;
  background-color: #11121c !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 1px 1px rgba(255, 255, 255, 0.15) !important;
  border-radius: 16px !important;
  padding: 8px !important;
  z-index: 99999 !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
}

/* Dropdown divider lines */
header .nav-dropdown-menu .h-px,
.nav-dropdown-menu .h-px {
  background-color: rgba(255, 255, 255, 0.12) !important;
  margin: 6px 0 !important;
}

/* Dropdown Link Rows */
header .nav-dropdown-menu a.nav-dropdown-item,
.nav-dropdown-menu a.nav-dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  color: #f1f5f9 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  background-color: transparent !important;
}

/* Explicit item text styling in Dark Mode */
header .nav-dropdown-menu a.nav-dropdown-item > span,
.nav-dropdown-menu a.nav-dropdown-item > span,
header .nav-dropdown-menu a.nav-dropdown-item .text-white,
.nav-dropdown-menu a.nav-dropdown-item .text-white {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
}

header .nav-dropdown-menu a.nav-dropdown-item .text-slate-400,
.nav-dropdown-menu a.nav-dropdown-item .text-slate-400,
header .nav-dropdown-menu a.nav-dropdown-item .text-\[11px\],
.nav-dropdown-menu a.nav-dropdown-item .text-\[11px\] {
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
}

/* Hover state in Dark Mode */
header .nav-dropdown-menu a.nav-dropdown-item:hover,
.nav-dropdown-menu a.nav-dropdown-item:hover {
  background-color: rgba(245, 158, 11, 0.18) !important;
  border: 1px solid rgba(129, 140, 248, 0.35) !important;
  transform: translateX(3px) !important;
}

header .nav-dropdown-menu a.nav-dropdown-item:hover > span,
.nav-dropdown-menu a.nav-dropdown-item:hover > span,
header .nav-dropdown-menu a.nav-dropdown-item:hover .text-white,
.nav-dropdown-menu a.nav-dropdown-item:hover .text-white {
  color: #ffffff !important;
}

header .nav-dropdown-menu a.nav-dropdown-item:hover .text-slate-400,
.nav-dropdown-menu a.nav-dropdown-item:hover .text-slate-400 {
  color: #cbd5e1 !important;
}

/* Dropdown icons in Dark Mode */
header .nav-dropdown-menu .dropdown-item-icon,
.nav-dropdown-menu .dropdown-item-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

/* LIGHT MODE DROPDOWN SPECIFICITY */
[data-theme="light"] header .nav-dropdown-menu,
[data-theme="light"] .nav-dropdown-menu,
html[data-theme="light"] header .nav-dropdown-menu,
html[data-theme="light"] .nav-dropdown-menu {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 45px -5px rgba(15, 23, 42, 0.16), 0 0 1px 1px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] header .nav-dropdown-menu .h-px,
[data-theme="light"] .nav-dropdown-menu .h-px {
  background-color: #e2e8f0 !important;
}

[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item {
  color: #0f172a !important;
}

[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item > span,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item > span,
[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item .text-white,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item .text-white {
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item .text-slate-400,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item .text-slate-400 {
  color: #64748b !important;
}

[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item:hover,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item:hover {
  background-color: #e0e7ff !important;
  border: 1px solid #c7d2fe !important;
  transform: translateX(3px) !important;
}

[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item:hover > span,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item:hover > span,
[data-theme="light"] header .nav-dropdown-menu a.nav-dropdown-item:hover .text-white,
[data-theme="light"] .nav-dropdown-menu a.nav-dropdown-item:hover .text-white {
  color: #b45309 !important;
}

/* ==========================================================================
   FEATURED LAUNCHES SHOWCASE SLIDER (HERO BANNER STYLE - FULL WIDTH)
   ========================================================================== */
.launch-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  width: 100%;
  perspective: 1600px;
}

.launch-slider-track {
  display: flex;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  transform-style: preserve-3d;
}

.launch-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  opacity: 0.2;
  transform: perspective(1400px) scale(0.93) rotateY(-5deg) translateZ(-40px);
  filter: blur(1.5px);
  transition: opacity 0.58s ease,
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.58s ease;
  pointer-events: none;
  transform-style: preserve-3d;
}

.launch-slide.slide-before-3d {
  transform: perspective(1400px) scale(0.93) rotateY(6deg) translateZ(-45px);
}

.launch-slide.slide-after-3d {
  transform: perspective(1400px) scale(0.93) rotateY(-6deg) translateZ(-45px);
}

.launch-slide.active {
  opacity: 1;
  transform: perspective(1400px) scale(1) rotateY(0deg) translateZ(0);
  filter: blur(0);
  pointer-events: auto;
}

/* Banner Overlay Navigation Arrows */
.launch-banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  z-index: 30;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.launch-banner-prev {
  left: 1.5rem;
}

.launch-banner-next {
  right: 1.5rem;
}

@media (min-width: 1280px) {
  .launch-banner-prev {
    left: 2.5rem;
  }
  .launch-banner-next {
    right: 2.5rem;
  }
}

.launch-banner-arrow:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.launch-banner-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Bottom Center Indicator Dots / Bars */
.launch-banner-dots-wrapper {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.launch-slider-dot {
  width: 10px;
  height: 6px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.35);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  border: none;
  padding: 0;
}

.launch-slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.launch-slider-dot.active {
  width: 32px;
  background-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
}

.launch-slider-btn {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.launch-slider-btn:hover {
  transform: scale(1.08);
}

.launch-slider-btn:active {
  transform: scale(0.95);
}

/* Light theme support */
[data-theme="light"] .launch-banner-arrow {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .launch-banner-arrow:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

[data-theme="light"] .launch-banner-dots-wrapper {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .launch-slider-dot:not(.active) {
  background-color: rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .launch-slider-dot.active {
  background-color: #d97706;
  box-shadow: 0 0 12px rgba(217, 119, 6, 0.5);
}

/* Smartphone Mockup Frame */
.mobile-device-frame {
  width: 290px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 38px;
  border: 4px solid #34343d;
  background: #0d0d15;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(251, 191, 36, 0.09);
  position: relative;
  overflow: hidden;
}

.mobile-notch {
  width: 100px;
  height: 18px;
  background: #1f1f27;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: 0 auto 6px auto;
  position: relative;
  z-index: 20;
}

[data-theme="light"] .launch-slider-dot:not(.active) {
  background-color: rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .launch-slider-dot.active {
  background-color: #d97706;
  box-shadow: 0 0 14px rgba(217, 119, 6, 0.5);
}

[data-theme="light"] .mobile-device-frame {
  border-color: #cbd5e1;
  background: #0f172a;
}

/* ==========================================================================
   Apple MacBook Pro & iPad Pro Hardware Mockup Frames
   ========================================================================== */
/* MacBook Pro Frame */
.macbook-mockup-frame {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.macbook-screen-lid {
  width: 100%;
  background: #0f172a;
  border: 4px solid #334155;
  border-bottom: 2px solid #1e293b;
  border-radius: 18px 18px 4px 4px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.macbook-camera-notch {
  width: 60px;
  height: 12px;
  background: #1e293b;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  margin: 0 auto;
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.macbook-camera-lens {
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: #0f172a;
  border: 1px solid #475569;
}

.macbook-base {
  width: 110%;
  max-width: 530px;
  height: 12px;
  background: linear-gradient(180deg, #64748b 0%, #475569 50%, #334155 100%);
  border-radius: 0 0 14px 14px;
  position: relative;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}

.macbook-base-indent {
  width: 70px;
  height: 4px;
  background: #1e293b;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* iPad Pro Frame */
.ipad-mockup-frame {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  background: #0f172a;
  border: 5px solid #334155;
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 158, 11, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.ipad-camera-dot {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: #020617;
  border: 1px solid #475569;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
}

.ipad-home-indicator {
  width: 80px;
  height: 3px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  margin: 6px auto 3px auto;
}

[data-theme="light"] .macbook-screen-lid {
  border-color: #94a3b8;
  background: #ffffff;
}

[data-theme="light"] .macbook-base {
  background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 50%, #64748b 100%);
}

[data-theme="light"] .ipad-mockup-frame {
  border-color: #94a3b8;
  background: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}


/* ==========================================================================
   Featured Launches Showcase Slider (Both Home & Deployments Pages)
   ========================================================================== */
[data-theme="light"] #featured-launches,
[data-theme="light"] #latest-launches {
  background-color: transparent !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] #featured-launches .launch-slider-container,
[data-theme="light"] #latest-launches .launch-slider-container {
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] #featured-launches h2,
[data-theme="light"] #featured-launches h3,
[data-theme="light"] #latest-launches h2,
[data-theme="light"] #latest-launches h3 {
  color: #0f172a !important;
}

[data-theme="light"] #featured-launches p,
[data-theme="light"] #featured-launches .text-slate-300,
[data-theme="light"] #featured-launches .text-slate-400,
[data-theme="light"] #latest-launches p,
[data-theme="light"] #latest-launches .text-slate-300,
[data-theme="light"] #latest-launches .text-slate-400 {
  color: #475569 !important;
}

[data-theme="light"] #featured-launches .text-slate-200,
[data-theme="light"] #latest-launches .text-slate-200 {
  color: #1e293b !important;
}

[data-theme="light"] #featured-launches .launch-slider-btn,
[data-theme="light"] #latest-launches .launch-slider-btn {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] #featured-launches .launch-slider-btn:hover,
[data-theme="light"] #latest-launches .launch-slider-btn:hover {
  background-color: #f1f5f9 !important;
  border-color: #94a3b8 !important;
}

[data-theme="light"] #featured-launches .bg-surface-container,
[data-theme="light"] #latest-launches .bg-surface-container {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] #featured-launches .launch-slider-dots,
[data-theme="light"] #latest-launches .launch-slider-dots {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] #featured-launches .launch-slider-counter,
[data-theme="light"] #latest-launches .launch-slider-counter {
  color: #475569 !important;
}

[data-theme="light"] #featured-launches .border-brand-border,
[data-theme="light"] #latest-launches .border-brand-border {
  border-color: #e2e8f0 !important;
}

/* Light Theme: Deployments Grid & Cards */
[data-theme="light"] #deployments-grid {
  background-color: #f1f5f9 !important;
}

[data-theme="light"] #deployments-grid h2,
[data-theme="light"] #deployments-grid h3 {
  color: #0f172a !important;
}

[data-theme="light"] #deployments-grid p {
  color: #475569 !important;
}

[data-theme="light"] #deployments-grid .bg-surface-container {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] #deployments-grid .bg-surface-container:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] #deployments-grid .text-slate-300,
[data-theme="light"] #deployments-grid .text-slate-400 {
  color: #475569 !important;
}

[data-theme="light"] #deployments-grid .border-white\/5,
[data-theme="light"] #deployments-grid .border-white\/10 {
  border-color: #e2e8f0 !important;
}

[data-theme="light"] #deployments-grid .tab-btn {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

[data-theme="light"] #deployments-grid .tab-btn.active {
  background-color: #d97706 !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   FINAL OVERRIDE: ABSOLUTE SOLID BLACK FOOTER (ZERO DOT PATTERN IN ALL THEMES)
   ========================================================================== */
html body footer,
html[data-theme="light"] body footer,
html body .site-footer,
html[data-theme="light"] body .site-footer,
footer.bg-brand-deep,
footer.bg-brand-navy,
footer.bg-surface-container-lowest,
footer {
  background-color: #000000 !important;
  background: #000000 !important;
  background-image: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  position: relative !important;
  z-index: 50 !important;
}

html body footer *,
html[data-theme="light"] body footer * {
  background-image: none !important;
}

html body footer .font-display,
html body footer h3,
html body footer h4,
html body footer strong,
html[data-theme="light"] body footer .font-display,
html[data-theme="light"] body footer h3,
html[data-theme="light"] body footer h4,
html[data-theme="light"] body footer strong {
  color: #ffffff !important;
}

html body footer p,
html body footer li,
html[data-theme="light"] body footer p,
html[data-theme="light"] body footer li {
  color: #94a3b8 !important;
}

html body footer a,
html[data-theme="light"] body footer a {
  color: #94a3b8 !important;
}

html body footer a:hover,
html[data-theme="light"] body footer a:hover {
  color: #ffffff !important;
}

html body footer [class*="text-emerald"],
html[data-theme="light"] body footer [class*="text-emerald"] {
  color: #34d399 !important;
}

html body footer .border-brand-border,
html body footer [class*="border-b"],
html body footer [class*="border-t"],
html[data-theme="light"] body footer .border-brand-border,
html[data-theme="light"] body footer [class*="border-b"],
html[data-theme="light"] body footer [class*="border-t"] {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* ==========================================================================
   SRILIONS 3D MOTION, SPATIAL UI & INTERACTIVE UX SYSTEM (v29.0)
   - Interactive 3D Canvas Backdrops (Dark & Light Theme Adaptive)
   - Spring-Physics 3D Tilt & Holographic Specular Glare
   - 3D Hero Stage with Orbital Rings & Z-Layered Telemetry Chips
   - 3D Perspective Launch Slider & Floating Mockup Pedestals
   - CSS 3D Rotating Isometric Architecture Cube
   - 3D Bento Module Matrix, Magnetic Buttons & Smooth Accordions
   - Scroll Progress Ribbon & Circular 3D Back-to-Top Ring
   ========================================================================== */

/* 1. Sticky Header Scroll Progress Ribbon & Dynamic Elevation */
#scroll-progress-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2.5px;
  background: linear-gradient(90deg, #b45309 0%, #f59e0b 50%, #fbbf24 100%);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
  z-index: 1005;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.65);
  will-change: transform;
}

[data-theme="light"] #scroll-progress-bar {
  background: linear-gradient(90deg, #b45309 0%, #d97706 55%, #f59e0b 100%);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.35);
}

header.header-scrolled {
  box-shadow: 0 12px 36px -4px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  border-bottom-color: rgba(251, 191, 36, 0.18) !important;
}

[data-theme="light"] header.header-scrolled {
  box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  border-bottom-color: rgba(245, 158, 11, 0.22) !important;
}

/* Theme Toggle 3D Spin */
.theme-toggle-btn.theme-spin-3d .material-symbols-outlined {
  animation: themeOrbitalSpin 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes themeOrbitalSpin {
  0% { transform: perspective(300px) rotateY(0deg) rotateZ(0deg) scale(1); }
  50% { transform: perspective(300px) rotateY(180deg) rotateZ(180deg) scale(1.22); }
  100% { transform: perspective(300px) rotateY(360deg) rotateZ(360deg) scale(1); }
}

/* 2. Interactive 3D Canvas Stage (Hero & Launch Backdrops) */
.canvas-3d-stage {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  z-index: 1;
  display: block;
  opacity: 0.92;
  transition: opacity 0.45s ease;
}

[data-theme="light"] .canvas-3d-stage {
  opacity: 0.78;
}

.hero-3d-section > .max-w-7xl,
section.mesh-gradient > .max-w-7xl,
section.mesh-gradient > .container {
  position: relative;
  z-index: 10;
}

/* 3. 3D Launch Slider Choreography & Floating Mockup Stages */
.launch-slider-progress-track {
  width: 48px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  margin-left: 0.35rem;
  flex-shrink: 0;
}

.launch-banner-dots-wrapper {
  white-space: nowrap;
}

@media (max-width: 440px) {
  .launch-slider-progress-track {
    display: none;
  }
}

.hero-3d-glow {
  pointer-events: none;
  transform: translateZ(-22px);
}

.launch-slider-progress {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f59e0b, #22d3ee);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

[data-theme="light"] .launch-slider-progress-track {
  background: rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .launch-slider-progress {
  background: linear-gradient(90deg, #d97706, #0284c7);
}

/* Staggered 3D Text Entrance inside Active Launch Slide */
.launch-slide .slide-copy-3d > div {
  opacity: 0;
  transform: perspective(1000px) translate3d(-24px, 16px, -20px) rotateY(6deg);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.launch-slide.active .slide-copy-3d > div:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}

.launch-slide.active .slide-copy-3d > div:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}

/* 3D Interactive Hardware Mockup Stage */
.stage-3d-mockup {
  perspective: 1400px;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}

.mockup-3d-img {
  position: relative;
  z-index: 4;
  transform: translateZ(34px);
  animation: float3dLevitate 6.5s ease-in-out infinite;
  transition: filter 0.35s ease;
  will-change: transform;
}

.stage-3d-mockup:hover .mockup-3d-img {
  filter: drop-shadow(0 32px 55px rgba(217, 119, 6, 0.35));
}

[data-theme="light"] .stage-3d-mockup:hover .mockup-3d-img {
  filter: drop-shadow(0 28px 45px rgba(15, 23, 42, 0.22));
}

.mockup-3d-aura {
  position: absolute;
  inset: 12% 14%;
  border-radius: 9999px;
  filter: blur(64px);
  opacity: 0.42;
  transform: translateZ(-28px);
  pointer-events: none;
  z-index: 1;
  animation: auraPulse3d 7s ease-in-out infinite alternate;
}

.mockup-aura-emerald { background: radial-gradient(circle, rgba(16, 185, 129, 0.45), rgba(6, 182, 212, 0.12) 65%, transparent); }
.mockup-aura-cyan    { background: radial-gradient(circle, rgba(6, 182, 212, 0.48), rgba(217, 119, 6, 0.16) 65%, transparent); }
.mockup-aura-amber   { background: radial-gradient(circle, rgba(245, 158, 11, 0.42), rgba(234, 88, 12, 0.14) 65%, transparent); }
.mockup-aura-purple  { background: radial-gradient(circle, rgba(168, 85, 247, 0.48), rgba(217, 119, 6, 0.18) 65%, transparent); }
.mockup-aura-blue    { background: radial-gradient(circle, rgba(59, 130, 246, 0.48), rgba(245, 158, 11, 0.16) 65%, transparent); }

[data-theme="light"] .mockup-3d-aura {
  opacity: 0.22;
}

.mockup-3d-shadow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 66%;
  height: 22px;
  transform: translateX(-50%) translateZ(-20px);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 2;
  animation: shadowFloat3d 6.5s ease-in-out infinite;
}

[data-theme="light"] .mockup-3d-shadow {
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.24) 0%, transparent 72%);
}

@keyframes float3dLevitate {
  0%, 100% { transform: translateZ(34px) translateY(0px); }
  50%      { transform: translateZ(46px) translateY(-10px); }
}

@keyframes shadowFloat3d {
  0%, 100% { transform: translateX(-50%) translateZ(-20px) scale(1); opacity: 0.72; }
  50%      { transform: translateX(-50%) translateZ(-20px) scale(0.86); opacity: 0.45; }
}

@keyframes auraPulse3d {
  0%   { transform: translateZ(-28px) scale(0.95); opacity: 0.36; }
  100% { transform: translateZ(-12px) scale(1.08); opacity: 0.58; }
}

/* 4. 3D Hero Spatial Hardware Stage with Orbital Rings & Telemetry Chips */
.hero-3d-stage {
  perspective: 1500px;
  transform-style: preserve-3d;
}

.hero-3d-hardware {
  position: relative;
  z-index: 6;
  transform: translateZ(30px);
  animation: heroFloat3d 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.55));
  will-change: transform;
}

[data-theme="light"] .hero-3d-hardware {
  filter: drop-shadow(0 24px 45px rgba(15, 23, 42, 0.18));
}

@keyframes heroFloat3d {
  0%, 100% { transform: translateZ(30px) translateY(0px); }
  50%      { transform: translateZ(44px) translateY(-11px); }
}

.hero-3d-rings {
  position: absolute;
  inset: -4%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  transform-style: preserve-3d;
  transform: translateZ(-32px);
}

.hero-ring-3d {
  position: absolute;
  border-radius: 9999px;
  border: 1.5px solid rgba(251, 191, 36, 0.24);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.14), inset 0 0 24px rgba(251, 146, 60, 0.08);
}

.hero-ring-3d::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #fbbf24;
  box-shadow: 0 0 14px 3px rgba(251, 191, 36, 0.9);
}

.hero-ring-outer {
  width: 92%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  border-style: dashed;
  border-color: rgba(245, 158, 11, 0.28);
  animation: orbitRingOuter 24s linear infinite;
}

.hero-ring-inner {
  width: 72%;
  max-width: 410px;
  aspect-ratio: 1 / 1;
  border-color: rgba(52, 211, 153, 0.28);
  animation: orbitRingInner 17s linear infinite reverse;
}

.hero-ring-inner::before {
  background: #34d399;
  box-shadow: 0 0 14px 3px rgba(52, 211, 153, 0.9);
}

[data-theme="light"] .hero-ring-3d {
  border-color: rgba(217, 119, 6, 0.22);
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.08);
}

[data-theme="light"] .hero-ring-inner {
  border-color: rgba(5, 150, 105, 0.24);
}

[data-theme="light"] .hero-ring-3d::before {
  background: #d97706;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.65);
}

[data-theme="light"] .hero-ring-inner::before {
  background: #059669;
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.65);
}

@keyframes orbitRingOuter {
  from { transform: rotateX(70deg) rotateY(-14deg) rotateZ(0deg); }
  to   { transform: rotateX(70deg) rotateY(-14deg) rotateZ(360deg); }
}

@keyframes orbitRingInner {
  from { transform: rotateX(66deg) rotateY(18deg) rotateZ(0deg); }
  to   { transform: rotateX(66deg) rotateY(18deg) rotateZ(360deg); }
}

/* Floating 3D Glass Telemetry Chips around Hero Hardware */
.hero-3d-chip {
  position: absolute;
  z-index: 12;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 14px;
  background: rgba(19, 20, 32, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 18px 36px -8px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  pointer-events: none;
  white-space: nowrap;
}

.hero-3d-chip .chip-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  line-height: 1.1;
}

.hero-3d-chip .chip-value {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.chip-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.95);
  animation: pulse-glow 2s infinite;
  flex-shrink: 0;
}

.hero-chip-tl {
  top: 8%;
  left: 2%;
  transform: translateZ(64px);
  animation: chipBobA 5.5s ease-in-out infinite;
}

.hero-chip-tr {
  top: 14%;
  right: 1%;
  transform: translateZ(78px);
  animation: chipBobB 6.2s ease-in-out infinite;
}

.hero-chip-bl {
  bottom: 10%;
  left: 4%;
  transform: translateZ(56px);
  animation: chipBobC 5.8s ease-in-out infinite;
}

@keyframes chipBobA {
  0%, 100% { transform: translateZ(64px) translateY(0); }
  50%      { transform: translateZ(76px) translateY(-8px); }
}

@keyframes chipBobB {
  0%, 100% { transform: translateZ(78px) translateY(0); }
  50%      { transform: translateZ(90px) translateY(8px); }
}

@keyframes chipBobC {
  0%, 100% { transform: translateZ(56px) translateY(0); }
  50%      { transform: translateZ(68px) translateY(-7px); }
}

[data-theme="light"] .hero-3d-chip {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 119, 6, 0.22);
  box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .hero-3d-chip .chip-label {
  color: #64748b !important;
}

[data-theme="light"] .hero-3d-chip .chip-value {
  color: #0f172a !important;
}

/* 5. Universal Spring-Physics 3D Tilt & Holographic Glare Cards */
.tilt-3d-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.32s ease,
              background-color 0.32s ease;
}

/* Prevent Tailwind transition-all from dragging our 60fps rAF 3D spring physics */
.tilt-3d-card:not(.reveal-init),
.stage-3d-mockup {
  transition-property: box-shadow, border-color, background-color, opacity, filter !important;
}

.tilt-3d-card.tilt-3d-clipped {
  transform-style: flat;
}

.tilt-3d-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    340px circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.13) 0%,
    rgba(251, 191, 36, 0.06) 35%,
    transparent 70%
  );
  opacity: var(--glare-opacity, 0);
  pointer-events: none;
  z-index: 8;
  transition: opacity 0.28s ease;
}

[data-theme="light"] .tilt-3d-card::after {
  background: radial-gradient(
    340px circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(245, 158, 11, 0.12) 0%,
    rgba(14, 165, 233, 0.05) 38%,
    transparent 70%
  );
}

.tilt-3d-card.is-tilting {
  border-color: rgba(251, 191, 36, 0.55) !important;
  box-shadow: 0 24px 48px -14px rgba(0, 0, 0, 0.72),
              0 0 28px -4px rgba(245, 158, 11, 0.28) !important;
  z-index: 6;
}

[data-theme="light"] .tilt-3d-card.is-tilting {
  border-color: rgba(217, 119, 6, 0.45) !important;
  box-shadow: 0 22px 44px -12px rgba(15, 23, 42, 0.16),
              0 0 24px -4px rgba(217, 119, 6, 0.16) !important;
}

/* Z-Depth Icon Elevation inside 3D Cards */
.tilt-3d-card:not(.tilt-3d-clipped) .material-symbols-outlined {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.tilt-3d-card.is-tilting:not(.tilt-3d-clipped) > div > .material-symbols-outlined,
.tilt-3d-card.is-tilting:not(.tilt-3d-clipped) > .material-symbols-outlined {
  transform: translateZ(24px) scale(1.08);
  filter: drop-shadow(0 6px 14px rgba(245, 158, 11, 0.45));
}

/* 6. 3D Bento Module Matrix (BizManage-PRO 18 Modules) */
.bento-3d-grid {
  perspective: 1200px;
}

.bento-3d-grid > div {
  position: relative;
  transform-style: preserve-3d;
  transition: border-color 0.28s ease, box-shadow 0.32s ease, background-color 0.28s ease;
}

.bento-3d-grid > div:hover {
  border-color: rgba(251, 191, 36, 0.65) !important;
  box-shadow: 0 18px 34px -10px rgba(0, 0, 0, 0.65),
              0 0 20px -4px rgba(245, 158, 11, 0.35) !important;
}

[data-theme="light"] .bento-3d-grid > div:hover {
  border-color: rgba(217, 119, 6, 0.55) !important;
  box-shadow: 0 16px 30px -10px rgba(217, 119, 6, 0.22) !important;
}

.bento-3d-grid > div .material-symbols-outlined {
  display: inline-flex;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.bento-3d-grid > div:hover .material-symbols-outlined {
  transform: translateZ(26px) translateY(-3px) scale(1.18);
  filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.55));
}

/* 7. Interactive CSS 3D Isometric Rotating Architecture Cube */
.iso-cube-stage {
  width: 92px;
  height: 92px;
  perspective: 680px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.blueprint-3d-card:hover .iso-cube-stage {
  transform: scale(1.06);
}

.iso-cube-3d {
  width: 66px;
  height: 66px;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
  animation: spinIsoCube 14s linear infinite;
}

.iso-face {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.56), rgba(217, 119, 6, 0.38));
  border: 1.5px solid rgba(251, 191, 36, 0.65);
  box-shadow: inset 0 0 14px rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fef3c7;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

[data-theme="light"] .iso-face {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.24), rgba(245, 158, 11, 0.16));
  border: 1.5px solid rgba(217, 119, 6, 0.55);
  box-shadow: inset 0 0 10px rgba(217, 119, 6, 0.14);
  color: #92400e;
}

.iso-front  { transform: rotateY(0deg) translateZ(33px); }
.iso-back   { transform: rotateY(180deg) translateZ(33px); }
.iso-right  { transform: rotateY(90deg) translateZ(33px); }
.iso-left   { transform: rotateY(-90deg) translateZ(33px); }
.iso-top    { transform: rotateX(90deg) translateZ(33px); }
.iso-bottom { transform: rotateX(-90deg) translateZ(33px); }

@keyframes spinIsoCube {
  0%   { transform: rotateX(-24deg) rotateY(0deg); }
  50%  { transform: rotateX(24deg) rotateY(180deg); }
  100% { transform: rotateX(-24deg) rotateY(360deg); }
}

/* 8. Tech Stack 3D Pills Micro-Interactions */
.tech-pill-3d {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background-color 0.25s ease;
}

.tech-pill-3d:hover {
  transform: translateY(-2px) translateZ(14px) scale(1.05);
  border-color: rgba(251, 191, 36, 0.65) !important;
  box-shadow: 0 6px 14px -4px rgba(245, 158, 11, 0.35);
}

[data-theme="light"] .tech-pill-3d {
  background-color: #f8fafc !important;
  color: #1e293b !important;
  border-color: #cbd5e1 !important;
}

[data-theme="light"] .tech-pill-3d:hover {
  background-color: #eef2ff !important;
  color: #b45309 !important;
  border-color: #f59e0b !important;
  box-shadow: 0 6px 14px -4px rgba(217, 119, 6, 0.22);
}

/* 9. 3D Magnetic Buttons & Holographic Shimmer Sweep */
.btn-3d-magnetic,
.talk-to-us-btn,
.btn-primary {
  overflow: hidden;
  position: relative;
}

.btn-3d-magnetic::before,
.talk-to-us-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 100%
  );
  transform: skewX(-22deg);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.btn-3d-magnetic:hover::before,
.talk-to-us-btn:hover::before {
  left: 165%;
}

/* 10. 3D Testimonial Marquee Depth Focus */
.marquee-3d-stage {
  perspective: 1200px;
}

.marquee-3d-stage .animate-marquee-scroll > div {
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.38s ease,
              border-color 0.32s ease,
              opacity 0.32s ease;
  transform-style: preserve-3d;
}

.marquee-3d-stage .animate-marquee-scroll:hover > div:not(:hover) {
  opacity: 0.72;
  transform: scale(0.98);
}

.marquee-3d-stage .animate-marquee-scroll > div:hover {
  transform: perspective(900px) translateY(-8px) translateZ(26px) rotateX(3deg) scale(1.03);
  border-color: rgba(251, 191, 36, 0.55) !important;
  box-shadow: 0 24px 44px -12px rgba(0, 0, 0, 0.65), 0 0 24px rgba(245, 158, 11, 0.25) !important;
  z-index: 15;
}

[data-theme="light"] .marquee-3d-stage .animate-marquee-scroll > div:hover {
  border-color: rgba(217, 119, 6, 0.45) !important;
  box-shadow: 0 20px 38px -10px rgba(15, 23, 42, 0.16) !important;
}

/* 11. Smooth Animated FAQ Accordions */
#faq details {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

#faq details[open] {
  border-color: rgba(251, 191, 36, 0.48) !important;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.45), 0 0 20px -4px rgba(245, 158, 11, 0.2) !important;
}

[data-theme="light"] #faq details[open] {
  border-color: rgba(217, 119, 6, 0.42) !important;
  box-shadow: 0 14px 28px -10px rgba(217, 119, 6, 0.15) !important;
}

/* 12. 3D Modal Perspective Entrance */
#video-modal > div {
  transform: perspective(1200px) rotateX(6deg) translateY(22px) scale(0.95);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

#video-modal.flex > div {
  transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1);
  opacity: 1;
}

/* 13. Crisp Circular Scroll-Progress Back-to-Top Button (Stationary Hit Target — Zero Hover Jitter) */
.back-to-top-3d {
  position: fixed !important;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9990 !important;
  width: 50px;
  height: 50px;
  padding: 0;
  margin: 0;
  border: none !important;
  background: transparent !important;
  border-radius: 9999px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.28s ease,
              visibility 0.28s ease,
              transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.back-to-top-3d.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top-3d:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 4px;
}

/* Inner visual circle — animates smoothly inside stationary button hit-box */
.back-to-top-3d .btt-surface {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: rgba(19, 20, 32, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.65),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background-color 0.22s ease,
              box-shadow 0.25s ease,
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-3d:hover .btt-surface {
  background: #d97706;
  box-shadow: 0 14px 32px -4px rgba(217, 119, 6, 0.58),
              0 0 0 4px rgba(245, 158, 11, 0.16);
  transform: scale(1.06);
}

.back-to-top-3d:active .btt-surface {
  transform: scale(0.94);
}

.back-to-top-3d .btt-arrow {
  font-size: 20px !important;
  line-height: 1 !important;
  color: #e4e1ed !important;
  pointer-events: none;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.back-to-top-3d:hover .btt-arrow {
  color: #ffffff !important;
  transform: translateY(-2px);
}

.back-to-top-3d svg.btt-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.back-to-top-3d .btt-ring-bg {
  fill: none;
  stroke: rgba(251, 191, 36, 0.18);
  stroke-width: 2.25;
}

.back-to-top-3d .btt-ring-progress {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.08s linear, stroke 0.2s ease;
}

.back-to-top-3d:hover .btt-ring-bg {
  stroke: rgba(255, 255, 255, 0.22);
}

.back-to-top-3d:hover .btt-ring-progress {
  stroke: #ffffff !important;
}

[data-theme="light"] .back-to-top-3d .btt-surface {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px -6px rgba(15, 23, 42, 0.18),
              0 0 0 1px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .back-to-top-3d .btt-arrow {
  color: #0f172a !important;
}

[data-theme="light"] .back-to-top-3d .btt-ring-bg {
  stroke: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .back-to-top-3d .btt-ring-progress {
  stroke: #d97706;
}

[data-theme="light"] .back-to-top-3d:hover .btt-surface {
  background: #0f172a;
  box-shadow: 0 14px 30px -6px rgba(15, 23, 42, 0.35),
              0 0 0 4px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .back-to-top-3d:hover .btt-arrow {
  color: #ffffff !important;
}

[data-theme="light"] .back-to-top-3d:hover .btt-ring-bg {
  stroke: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .back-to-top-3d:hover .btt-ring-progress {
  stroke: #ffffff !important;
}

/* 14. 3D Hardware Device Mockups across Subpages */
.macbook-mockup-frame,
.ipad-mockup-frame,
.mobile-device-frame {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.35s ease;
}

/* ==========================================================================
   MODERN SAAS MOTION, AI 3D CINEMA THEATER & VISUAL ARCHITECTURE (v30.0)
   ========================================================================== */

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

@keyframes rotateBeamAngle {
  from { --beam-angle: 0deg; }
  to   { --beam-angle: 360deg; }
}

/* A. Rotating Conic-Gradient Neon Border Beams */
.beam-border-shell {
  position: relative;
  background: conic-gradient(
    from var(--beam-angle),
    rgba(251, 191, 36, 0.14) 0deg,
    rgba(245, 158, 11, 0.85) 55deg,
    rgba(34, 211, 238, 0.9) 105deg,
    rgba(168, 85, 247, 0.7) 155deg,
    rgba(251, 191, 36, 0.14) 220deg,
    rgba(251, 191, 36, 0.14) 360deg
  );
  animation: rotateBeamAngle 7s linear infinite;
}

[data-theme="light"] .beam-border-shell {
  background: conic-gradient(
    from var(--beam-angle),
    rgba(217, 119, 6, 0.18) 0deg,
    rgba(217, 119, 6, 0.85) 60deg,
    rgba(2, 132, 199, 0.85) 115deg,
    rgba(124, 58, 237, 0.72) 165deg,
    rgba(217, 119, 6, 0.18) 230deg,
    rgba(217, 119, 6, 0.18) 360deg
  );
}

.badge-beam-pill {
  position: relative;
  background: rgba(20, 21, 34, 0.86);
  border: 1px solid rgba(251, 191, 36, 0.32);
  box-shadow: 0 0 24px -6px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme="light"] .badge-beam-pill {
  background: rgba(238, 242, 255, 0.94) !important;
  border-color: rgba(217, 119, 6, 0.32) !important;
  box-shadow: 0 4px 16px -4px rgba(217, 119, 6, 0.2) !important;
}

/* B. Kinetic Gradient Text Shimmer */
.text-shimmer-modern {
  background-size: 220% auto !important;
  animation: textShimmerFlow 5.5s linear infinite;
}

@keyframes textShimmerFlow {
  0%   { background-position: 0% center; }
  100% { background-position: 220% center; }
}

/* C. Ambient Pointer-Following Cursor Aurora Glow */
#cursor-aurora-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 540px;
  height: 540px;
  margin-left: -270px;
  margin-top: -270px;
  border-radius: 9999px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.11) 0%,
    rgba(168, 85, 247, 0.06) 35%,
    rgba(34, 211, 238, 0.03) 55%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.45s ease;
  will-change: transform;
}

[data-theme="light"] #cursor-aurora-glow {
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.06) 0%,
    rgba(2, 132, 199, 0.03) 40%,
    transparent 70%
  );
}

/* D. Antigravity-Style Enterprise Capability Wave Ticker */
.ticker-marquee-strip {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 1.5rem 0;
}

[data-theme="light"] .ticker-marquee-strip {
  background: transparent !important;
  border-color: transparent !important;
}

.ag-wave-track {
  position: relative;
  width: 100%;
  height: 184px;
  overflow: visible;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 100px, #000 calc(100% - 100px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 100px, #000 calc(100% - 100px), transparent 100%);
}

.ag-wave-node {
  position: absolute;
  top: 50%;
  left: 0;
  width: 96px;
  margin-top: -50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  will-change: transform;
  user-select: none;
  cursor: default;
}

.ag-wave-orb {
  width: 68px;
  height: 68px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.09), rgba(20, 21, 34, 0.88) 72%);
  border: 1px solid rgba(251, 191, 36, 0.14);
  box-shadow:
    0 12px 28px -8px rgba(0, 0, 0, 0.65),
    0 0 24px -6px var(--node-glow, rgba(245, 158, 11, 0.28)),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.ag-wave-orb .material-symbols-outlined {
  font-size: 30px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ag-wave-node:hover .ag-wave-orb {
  transform: scale(1.12);
  border-color: var(--node-accent, rgba(251, 191, 36, 0.45));
  box-shadow:
    0 16px 34px -6px rgba(0, 0, 0, 0.78),
    0 0 30px -2px var(--node-glow, rgba(245, 158, 11, 0.42)),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ag-wave-node:hover .ag-wave-orb .material-symbols-outlined {
  transform: scale(1.06);
}

.ag-wave-label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(226, 232, 240, 0.82);
  white-space: normal;
  max-width: 92px;
  text-align: center;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.ag-wave-node:hover .ag-wave-label {
  color: #ffffff;
}

[data-theme="light"] .ag-wave-orb {
  background: radial-gradient(circle at 30% 25%, #ffffff, rgba(241, 245, 249, 0.94) 75%);
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow:
    0 10px 24px -8px rgba(15, 23, 42, 0.14),
    0 0 18px -6px var(--node-glow, rgba(245, 158, 11, 0.22)),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .ag-wave-label {
  color: #334155 !important;
}

[data-theme="light"] .ag-wave-node:hover .ag-wave-label {
  color: #0f172a !important;
}

.ticker-fade-left,
.ticker-fade-right {
  display: none;
}

@media (max-width: 640px) {
  .ticker-marquee-strip {
    padding: 1.15rem 0;
  }
  .ag-wave-track {
    height: 140px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 52px, #000 calc(100% - 52px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 52px, #000 calc(100% - 52px), transparent 100%);
  }
  .ag-wave-node {
    width: 88px;
    margin-top: -42px;
  }
  .ag-wave-orb {
    width: 56px;
    height: 56px;
  }
  .ag-wave-orb .material-symbols-outlined {
    font-size: 24px;
  }
  .ag-wave-label {
    font-size: 0.62rem;
    max-width: 84px;
  }
}

/* E. AI 3D Cinematic Motion Reel Theater */
.cinema-3d-shell {
  box-shadow: 0 32px 75px -18px rgba(0, 0, 0, 0.78), 0 0 42px -10px rgba(217, 119, 6, 0.35);
}

[data-theme="light"] .cinema-3d-shell {
  box-shadow: 0 28px 65px -16px rgba(15, 23, 42, 0.28), 0 0 36px -10px rgba(217, 119, 6, 0.22);
}

.cinema-stage {
  background: #070810;
  perspective: 1400px;
}

.cinema-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.95s ease;
  z-index: 1;
  overflow: hidden;
}

.cinema-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 4;
}

.cinema-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  will-change: transform;
}

/* 5 Distinct Directed Ken Burns 3D Camera Motions */
.cinema-slide.active[data-kenburns="zoom-right"] .cinema-media-img {
  animation: kbZoomRight 7s ease-out forwards;
}

.cinema-slide.active[data-kenburns="zoom-left"] .cinema-media-img {
  animation: kbZoomLeft 7s ease-out forwards;
}

.cinema-slide.active[data-kenburns="pan-up"] .cinema-media-img {
  animation: kbPanUp 7s ease-out forwards;
}

.cinema-slide.active[data-kenburns="zoom-center"] .cinema-media-img {
  animation: kbZoomCenter 7s ease-out forwards;
}

.cinema-slide.active[data-kenburns="pan-diagonal"] .cinema-media-img {
  animation: kbPanDiag 7s ease-out forwards;
}

.cinema-3d-shell.is-paused .cinema-media-img {
  animation-play-state: paused !important;
}

@keyframes kbZoomRight {
  0%   { transform: scale(1.02) translate3d(-1.5%, 0%, 0); }
  100% { transform: scale(1.13) translate3d(1.8%, -1.2%, 0); }
}

@keyframes kbZoomLeft {
  0%   { transform: scale(1.12) translate3d(1.6%, -0.8%, 0); }
  100% { transform: scale(1.02) translate3d(-1.4%, 1%, 0); }
}

@keyframes kbPanUp {
  0%   { transform: scale(1.08) translate3d(0%, 2.2%, 0); }
  100% { transform: scale(1.14) translate3d(-1%, -2.2%, 0); }
}

@keyframes kbZoomCenter {
  0%   { transform: scale(1.01) translate3d(0%, 0%, 0); }
  100% { transform: scale(1.14) translate3d(0%, -1%, 0); }
}

@keyframes kbPanDiag {
  0%   { transform: scale(1.06) translate3d(-1.8%, 1.5%, 0); }
  100% { transform: scale(1.15) translate3d(1.6%, -1.8%, 0); }
}

.cinema-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 8;
  pointer-events: none;
}

.cinema-scanline {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(56, 189, 248, 0.06) 49%,
    rgba(251, 191, 36, 0.16) 50%,
    rgba(56, 189, 248, 0.06) 51%,
    transparent 100%
  );
  background-size: 100% 240%;
  animation: cinemaScanSweep 6.5s linear infinite;
}

@keyframes cinemaScanSweep {
  0%   { background-position: 0 -120%; }
  100% { background-position: 0 220%; }
}

.cinema-vignette {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 8, 16, 0.48) 0%, rgba(7, 8, 16, 0.08) 38%, rgba(7, 8, 16, 0.88) 100%),
              linear-gradient(90deg, rgba(7, 8, 16, 0.72) 0%, rgba(7, 8, 16, 0.15) 55%, rgba(7, 8, 16, 0.25) 100%);
}

.cinema-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.95);
  animation: pulse-glow 1.8s infinite;
}

.cinema-3d-shell.is-paused .cinema-rec-dot {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.8);
  animation: none;
}

.cinema-ctrl-btn {
  width: 34px;
  height: 34px;
  border-radius: 9999px !important;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-ctrl-btn:hover {
  background: #ffffff;
  color: #0f172a !important;
  transform: scale(1.08);
}

.cinema-ctrl-btn:hover * {
  color: #0f172a !important;
}

.cinema-caption-box {
  transition: opacity 0.35s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-caption-box.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

/* Interactive Cinema Chapter Pills with Live Progress Bars */
.cinema-chapter-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.22s ease;
}

.cinema-chapter-pill:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
  transform: translateY(-1px);
}

.cinema-chapter-pill.active {
  background: rgba(217, 119, 6, 0.24);
  border-color: rgba(251, 191, 36, 0.5);
}

.cinema-chapter-pill .chapter-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #f59e0b !important;
}

.cinema-chapter-pill .chapter-name {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cinema-chapter-pill.active .chapter-name {
  color: #ffffff !important;
}

.cinema-chapter-pill .chapter-bar {
  width: 100%;
  height: 3px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 2px;
}

.cinema-chapter-pill .chapter-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f59e0b, #22d3ee);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.7);
}

.cinema-active-cta,
[data-theme="light"] .dark-app-window .cinema-active-cta {
  background: #ffffff !important;
  color: #090a12 !important;
  border-radius: 0px !important;
}

.cinema-active-cta *,
[data-theme="light"] .dark-app-window .cinema-active-cta * {
  color: #090a12 !important;
}

/* F. AI 3D Visual Solution Cards */
.solution-ai-media {
  position: relative;
}

.solution-ai-media img {
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
  will-change: transform;
}

.solution-ai-card:hover .solution-ai-media img {
  transform: scale(1.09) translateY(-2px);
  filter: brightness(1.08) saturate(1.1);
}

.solution-ai-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 22, 0.12) 0%, rgba(11, 12, 22, 0.18) 55%, rgba(31, 31, 39, 0.96) 100%);
  pointer-events: none;
  z-index: 2;
}

[data-theme="light"] .solution-ai-scrim {
  background: linear-gradient(180deg, rgba(11, 12, 22, 0.08) 0%, rgba(11, 12, 22, 0.15) 65%, rgba(11, 12, 22, 0.55) 100%);
}

.solution-ai-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(11, 12, 22, 0.78);
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .solution-ai-badge {
  background: rgba(15, 23, 42, 0.84) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

/* G. Animated 3-Stage Cloud Architecture Data-Flow Pipeline */
.pipeline-3d-strip {
  position: relative;
}

.pipeline-beam-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 40px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.pipeline-track-line {
  stroke: rgba(251, 191, 36, 0.18);
  stroke-width: 2;
}

.pipeline-pulse-path {
  stroke: #38bdf8;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 48 160;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.85));
  animation: pipelineBeamFlow 2.6s linear infinite;
}

[data-theme="light"] .pipeline-track-line {
  stroke: rgba(217, 119, 6, 0.22);
}

[data-theme="light"] .pipeline-pulse-path {
  stroke: #d97706;
  filter: drop-shadow(0 0 6px rgba(217, 119, 6, 0.55));
}

@keyframes pipelineBeamFlow {
  from { stroke-dashoffset: 208; }
  to   { stroke-dashoffset: 0; }
}

.pipeline-node-core {
  box-shadow: 0 12px 36px -10px rgba(217, 119, 6, 0.42), 0 0 0 1px rgba(251, 191, 36, 0.24) !important;
}

/* H. BizManage-PRO Operational Blueprint AI 3D Backdrop */
.blueprint-ai-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  transform: scale(1.04);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.blueprint-3d-card:hover .blueprint-ai-bg {
  transform: scale(1.1);
  opacity: 0.45;
}

.blueprint-ai-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(13, 14, 24, 0.94) 0%, rgba(13, 14, 24, 0.78) 58%, rgba(13, 14, 24, 0.48) 100%);
  pointer-events: none;
  z-index: 2;
}

/* I. Subpage AI 3D Showcase Spotlight Banner */
.subpage-ai-banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.subpage-ai-banner img.subpage-ai-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  animation: kbSubtleFloat 12s ease-in-out infinite alternate;
}

.subpage-ai-banner:hover img.subpage-ai-img {
  transform: scale(1.07);
}

@keyframes kbSubtleFloat {
  0%   { transform: scale(1.02) translate3d(-1%, 0, 0); }
  100% { transform: scale(1.09) translate3d(1%, -1%, 0); }
}

/* J. Video Card Sonar Play Ring Polish */
.video-card .aspect-video button[aria-label^="Play"]::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 1.5px solid rgba(248, 113, 113, 0.75);
  animation: playSonarPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

@keyframes playSonarPulse {
  0%   { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* 15. Reduced-motion override removed so 3D and CSS animations always play */

/* ==========================================================================
   CLEAN MODERN UX REFINEMENT (v31.0 — Apple / Antigravity / Linear Clarity)
   - Soft modern pill buttons (no harsh boxy edges)
   - Whisper-subtle Light Mode canvas & airy card depth
   - Pure Visual / Pure Copy Split Platform Showcase (Zero text over images)
   ========================================================================== */

/* 1. Sleek Modern Pill & Rounded CTA Geometry (Overrides legacy 0px square buttons in BOTH Dark & Light Mode) */
.btn,
.talk-to-us-btn,
.btn-pill-modern,
.btn-primary,
.btn-secondary,
.btn-outline,
a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
a[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.card):not(.portfolio-card):not([data-filter]):not(.minimal-solution-card),
button[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.theme-toggle-btn):not([data-filter]),
button[type="submit"]:not(header *),
a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]),
a[class*="bg-indigo"]:not(header *):not(#mobile-menu *),
a[class*="bg-cyan"]:not(header *):not(#mobile-menu *),
a[class*="bg-amber"]:not(header *):not(#mobile-menu *),
a[class*="bg-purple"]:not(header *):not(#mobile-menu *),
a[class*="bg-blue"]:not(header *):not(#mobile-menu *),
a[class*="bg-emerald"]:not(header *):not(#mobile-menu *):not(.fixed),
.tab-btn,
[data-theme="light"] .btn,
[data-theme="light"] .talk-to-us-btn,
[data-theme="light"] .btn-pill-modern,
[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-secondary,
[data-theme="light"] .btn-outline,
[data-theme="light"] a[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
[data-theme="light"] button[class*="bg-gradient-to-r"]:not(header *):not(#mobile-menu *),
[data-theme="light"] a[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.card):not(.portfolio-card):not([data-filter]):not(.minimal-solution-card),
[data-theme="light"] button[class*="bg-surface-container"]:not(header *):not(#mobile-menu *):not(.theme-toggle-btn):not([data-filter]),
[data-theme="light"] a[class*="bg-primary"]:not(header *):not(#mobile-menu *):not(.nav-link):not(.badge-pill):not([data-filter]),
[data-theme="light"] a[class*="bg-indigo"]:not(header *):not(#mobile-menu *),
[data-theme="light"] a[class*="bg-cyan"]:not(header *):not(#mobile-menu *),
[data-theme="light"] a[class*="bg-amber"]:not(header *):not(#mobile-menu *),
[data-theme="light"] a[class*="bg-purple"]:not(header *):not(#mobile-menu *),
[data-theme="light"] a[class*="bg-blue"]:not(header *):not(#mobile-menu *),
[data-theme="light"] a[class*="bg-emerald"]:not(header *):not(#mobile-menu *):not(.fixed),
[data-theme="light"] .tab-btn {
  border-radius: 9999px !important;
}

button[type="submit"]:not(header *),
[data-theme="light"] button[type="submit"]:not(header *) {
  border-radius: 14px !important;
}

/* 2. Whisper-Subtle Light Mode Canvas & Delicate 3D Background */
[data-theme="light"] html,
[data-theme="light"] body,
html[data-theme="light"],
html[data-theme="light"] body {
  background-color: #fbfcfe !important;
  background-image: none !important;
}

[data-theme="light"] .canvas-3d-stage {
  opacity: 0.42 !important;
}

/* 3. Full-Viewport Desktop Interactive 3D Hero Playground */
.hero-playground-viewport {
  min-height: calc(100vh - 4rem);
  min-height: calc(100svh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: crosshair;
}

.hero-playground-viewport a,
.hero-playground-viewport button {
  cursor: pointer;
}

.hero-playground-viewport h1,
.hero-playground-viewport p {
  cursor: default;
}

@media (min-width: 1024px) {
  .hero-playground-viewport {
    height: calc(100vh - 4rem);
    height: calc(100dvh - 4rem);
    min-height: 480px;
  }
}

.hero-playground-canvas {
  opacity: 0.95 !important;
}

[data-theme="light"] .hero-playground-canvas {
  opacity: 0.85 !important;
}

.hero-scroll-chevron {
  animation: heroChevronBob 2.2s ease-in-out infinite;
}

@keyframes heroChevronBob {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50%      { transform: translateY(4px); opacity: 1; }
}

[data-theme="light"] .hero-scroll-cue {
  color: #64748b !important;
}

[data-theme="light"] .hero-scroll-cue:hover {
  color: #d97706 !important;
}

/* Clean Hero 3D Sculptural Visual Frame (Retained for subpages if used) */
.hero-sculpture-stage {
  perspective: 1400px;
  transform-style: preserve-3d;
}

.hero-sculpture-aura {
  position: absolute;
  inset: -6%;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.28) 0%, rgba(56, 189, 248, 0.12) 48%, transparent 72%);
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
  transform: translateZ(-24px);
}

[data-theme="light"] .hero-sculpture-aura {
  background: radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.16) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 72%);
}

.hero-sculpture-frame {
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 70px -18px rgba(0, 0, 0, 0.65);
}

[data-theme="light"] .hero-sculpture-frame {
  box-shadow: 0 28px 60px -16px rgba(15, 23, 42, 0.24);
}

.hero-sculpture-img {
  animation: kbSubtleFloat 11s ease-in-out infinite alternate;
  will-change: transform;
}

/* 4. Clean Split Platform Showcase (Text Strictly Left, Pure Visual Strictly Right) */
.showcase-ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 9999px !important;
  background: rgba(31, 31, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-ctrl-btn:hover {
  background: #d97706;
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-1px);
}

[data-theme="light"] .showcase-ctrl-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .showcase-ctrl-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.showcase-tab-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: 9999px !important;
  background: rgba(31, 31, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-tab-pill:hover {
  color: #ffffff;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(41, 41, 52, 0.9);
}

.showcase-tab-pill.active {
  background: rgba(217, 119, 6, 0.22);
  border-color: rgba(251, 191, 36, 0.55);
  color: #ffffff;
  box-shadow: 0 6px 20px -6px rgba(217, 119, 6, 0.45);
}

[data-theme="light"] .showcase-tab-pill {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .showcase-tab-pill:hover {
  color: #0f172a;
  border-color: #94a3b8;
}

[data-theme="light"] .showcase-tab-pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff !important;
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.3);
}

[data-theme="light"] .showcase-tab-pill.active * {
  color: #ffffff !important;
}

.showcase-tab-progress {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 4px;
  height: 2px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.showcase-tab-pill.active .showcase-tab-progress {
  opacity: 1;
}

.showcase-tab-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #38bdf8);
}

.showcase-copy-panel {
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-copy-panel.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.75s ease;
  z-index: 1;
}

.showcase-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 4;
}

.showcase-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.showcase-slide.active[data-kenburns="zoom-right"] .showcase-media-img   { animation: kbZoomRight 7s ease-out forwards; }
.showcase-slide.active[data-kenburns="zoom-left"] .showcase-media-img    { animation: kbZoomLeft 7s ease-out forwards; }
.showcase-slide.active[data-kenburns="pan-up"] .showcase-media-img       { animation: kbPanUp 7s ease-out forwards; }
.showcase-slide.active[data-kenburns="zoom-center"] .showcase-media-img  { animation: kbZoomCenter 7s ease-out forwards; }
.showcase-slide.active[data-kenburns="pan-diagonal"] .showcase-media-img { animation: kbPanDiag 7s ease-out forwards; }

[data-platform-showcase].is-paused .showcase-media-img {
  animation-play-state: paused !important;
}

/* 5. Clean Minimal Solution Cards & Split Showcase Surface (Preserve Card Layout & Light/Dark Readability) */
.minimal-solution-card {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  white-space: normal !important;
  text-align: left !important;
  border-radius: 1rem !important;
  overflow: hidden;
  min-width: 0;
  cursor: pointer;
}

.minimal-solution-card:focus-within {
  outline: 2px solid rgba(245, 158, 11, 0.7);
  outline-offset: 2px;
}

.minimal-solution-link {
  text-decoration: none;
  outline: none;
}

[data-theme="light"] .minimal-solution-card {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .minimal-solution-card:hover {
  background-color: #ffffff !important;
  border-color: rgba(217, 119, 6, 0.45) !important;
  box-shadow: 0 14px 30px -10px rgba(217, 119, 6, 0.16) !important;
}

[data-theme="light"] .minimal-solution-card h3 {
  color: #0f172a !important;
}

[data-theme="light"] .minimal-solution-card p {
  color: #475569 !important;
}

[data-theme="light"] .showcase-split-card {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 18px 46px -16px rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .showcase-split-card .showcase-active-title {
  color: #0f172a !important;
}

[data-theme="light"] .showcase-split-card .showcase-active-desc,
[data-theme="light"] .showcase-split-card .showcase-active-points {
  color: #475569 !important;
}

/* 6. Clean White Play Circle on Video Cards in Both Themes */
.video-card .aspect-video button[aria-label^="Play"] {
  background-color: rgba(255, 255, 255, 0.94) !important;
  color: #0f172a !important;
  border: none !important;
}

.video-card .aspect-video button[aria-label^="Play"] .material-symbols-outlined {
  color: #0f172a !important;
}

.video-card .aspect-video button[aria-label^="Play"]::after {
  border-color: rgba(255, 255, 255, 0.7);
}

/* 7. Antigravity Dark-Mode Minimalist Polish (Canvas, Hairline Cards, Crisp Pills & Editorial Type) */
html.dark:not([data-theme="light"]) h1,
html.dark:not([data-theme="light"]) h2,
html.dark:not([data-theme="light"]) .font-display {
  letter-spacing: -0.025em;
}

html.dark:not([data-theme="light"]) .showcase-split-card,
html.dark:not([data-theme="light"]) .minimal-solution-card,
html.dark:not([data-theme="light"]) .portfolio-card,
html.dark:not([data-theme="light"]) .card {
  background-color: rgba(20, 21, 32, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.075) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 44px -18px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

html.dark:not([data-theme="light"]) .minimal-solution-card:hover,
html.dark:not([data-theme="light"]) .portfolio-card:hover,
html.dark:not([data-theme="light"]) .card:hover {
  border-color: rgba(251, 191, 36, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 24px 52px -16px rgba(0, 0, 0, 0.78),
    0 0 28px -10px rgba(245, 158, 11, 0.18);
}

html.dark:not([data-theme="light"]) .btn-pill-modern[class*="bg-gradient-to-r"] {
  box-shadow:
    0 10px 26px -8px rgba(245, 158, 11, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, filter 0.25s ease;
}

html.dark:not([data-theme="light"]) .btn-pill-modern[class*="bg-gradient-to-r"]:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px -6px rgba(245, 158, 11, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.06);
}

html.dark:not([data-theme="light"]) .btn-pill-modern[class*="bg-surface-container"] {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, border-color 0.25s ease;
}

html.dark:not([data-theme="light"]) .btn-pill-modern[class*="bg-surface-container"]:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
}

/* 8. Video Modal Button & Icon Text Contrast Override (Overrides .dark-app-window span rule) */
#video-modal #video-modal-yt-btn,
#video-modal #video-modal-yt-btn span {
  color: #f8fafc !important;
}

#video-modal a[href*="contact"],
#video-modal a[href*="contact"] span {
  color: #0d0e15 !important;
}

#video-modal #close-video-modal,
#video-modal #close-video-modal span {
  color: #09090b !important;
}

#video-modal #close-video-modal:hover,
#video-modal #close-video-modal:hover span {
  color: #000000 !important;
}

/* 9. Contact Section ("Let's Discuss Your Business Requirements") Light Theme Harmonization */
[data-theme="light"] #contact {
  background-color: transparent !important;
  color: #0f172a !important;
}

[data-theme="light"] #contact > .absolute.inset-0 {
  background: none !important;
  opacity: 0 !important;
}

[data-theme="light"] #contact h2,
[data-theme="light"] #contact h3,
[data-theme="light"] #contact strong,
[data-theme="light"] #contact .text-white {
  color: #0f172a !important;
}

[data-theme="light"] #contact p,
[data-theme="light"] #contact .text-slate-300,
[data-theme="light"] #contact .text-slate-400,
[data-theme="light"] #contact span:not(.material-symbols-outlined):not([class*="bg-"]):not(.text-primary):not(button *) {
  color: #475569 !important;
}

[data-theme="light"] #contact a:not([class*="bg-"]) {
  color: #334155 !important;
}

[data-theme="light"] #contact a:not([class*="bg-"]):hover {
  color: #4f46e5 !important;
}

[data-theme="light"] #contact .material-symbols-outlined.text-primary {
  color: #4f46e5 !important;
}

[data-theme="light"] #contact #inquiry-form {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 50px -16px rgba(15, 23, 42, 0.09) !important;
}

[data-theme="light"] #contact #inquiry-form label {
  color: #1e293b !important;
}

[data-theme="light"] #contact #inquiry-form input,
[data-theme="light"] #contact #inquiry-form textarea,
[data-theme="light"] #contact #inquiry-form select {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] #contact #inquiry-form input::placeholder,
[data-theme="light"] #contact #inquiry-form textarea::placeholder {
  color: #94a3b8 !important;
}

[data-theme="light"] #contact #inquiry-form button[type="submit"],
[data-theme="light"] #contact #inquiry-form button[type="submit"] span {
  color: #ffffff !important;
}

/* 10. Antigravity Features (2-5): Floating Scroll Navbar, Bento Spotlight, & Hero Ambient Aura */

/* #2 Floating Glass Navbar on Scroll */
body > header.sticky {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              backdrop-filter 0.35s ease;
}

body > header.sticky.is-scrolled {
  background-color: rgba(13, 14, 21, 0.78) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.55) !important;
}

[data-theme="light"] body > header.sticky.is-scrolled {
  background: rgba(255, 255, 255, 0.62) !important;
  background-color: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

/* #4 Bento Card Polish & Cursor-Following Radial Spotlight */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

#inquiry-form {
  overflow: visible !important;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(
    380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(129, 140, 248, 0.11),
    rgba(56, 189, 248, 0.04) 45%,
    transparent 70%
  );
  transition: opacity 0.35s ease;
  z-index: 1;
}

.spotlight-card:hover::after {
  opacity: 1;
}

[data-theme="light"] .spotlight-card::after {
  background: radial-gradient(
    360px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(79, 70, 229, 0.065),
    rgba(14, 165, 233, 0.03) 45%,
    transparent 70%
  );
}

html.dark:not([data-theme="light"]) .minimal-solution-card,
html.dark:not([data-theme="light"]) .portfolio-card {
  border-radius: 22px !important;
}

/* #5 Interactive Hero Ambient Aura */
.ag-hero-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    640px circle at var(--aura-x, 50%) var(--aura-y, 44%),
    rgba(245, 158, 11, 0.15),
    rgba(56, 189, 248, 0.06) 44%,
    transparent 72%
  );
  transition: opacity 0.4s ease;
}

[data-theme="light"] .ag-hero-aura {
  background: radial-gradient(
    640px circle at var(--aura-x, 50%) var(--aura-y, 44%),
    rgba(245, 158, 11, 0.085),
    rgba(56, 189, 248, 0.045) 44%,
    transparent 72%
  );
}

/* #3 Smooth Parallax Visual Hint */
[data-ag-parallax] {
  will-change: transform;
}

/* 11. Obsidian & Lion Gold Signature Theme Overrides (Zero Generic Blue/Purple) */
html.dark:not([data-theme="light"]) .text-primary {
  color: #fbbf24 !important;
}

[data-theme="light"] .text-primary:not(.dark-app-window *):not(.theme-toggle-btn):not(footer *) {
  color: #d97706 !important;
}

html.dark:not([data-theme="light"]) .showcase-split-card,
html.dark:not([data-theme="light"]) .minimal-solution-card,
html.dark:not([data-theme="light"]) .portfolio-card,
html.dark:not([data-theme="light"]) .card {
  background-color: rgba(17, 17, 21, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.075) !important;
}

html.dark:not([data-theme="light"]) .minimal-solution-card:hover,
html.dark:not([data-theme="light"]) .portfolio-card:hover,
html.dark:not([data-theme="light"]) .card:hover {
  border-color: rgba(251, 191, 36, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 52px -16px rgba(0, 0, 0, 0.82),
    0 0 28px -10px rgba(245, 158, 11, 0.16) !important;
}

html.dark:not([data-theme="light"]) .btn-pill-modern[class*="bg-gradient-to-r"] {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #09090b !important;
  box-shadow:
    0 10px 26px -8px rgba(245, 158, 11, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

html.dark:not([data-theme="light"]) .btn-pill-modern[class*="bg-gradient-to-r"] * {
  color: #09090b !important;
}

html.dark:not([data-theme="light"]) .btn-pill-modern[class*="bg-gradient-to-r"]:hover {
  box-shadow:
    0 14px 32px -6px rgba(245, 158, 11, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  filter: brightness(1.06);
}

html.dark:not([data-theme="light"]) body > header.sticky.is-scrolled {
  background-color: rgba(9, 9, 11, 0.82) !important;
}

html.dark:not([data-theme="light"]) .showcase-tab-pill.active {
  background: rgba(245, 158, 11, 0.14) !important;
  border-color: rgba(251, 191, 36, 0.55) !important;
  box-shadow: 0 6px 20px -6px rgba(245, 158, 11, 0.35) !important;
}

html.dark:not([data-theme="light"]) .showcase-ctrl-btn:hover {
  background: #f59e0b !important;
  border-color: #fbbf24 !important;
  color: #09090b !important;
}

html.dark:not([data-theme="light"]) #scroll-progress {
  background: linear-gradient(90deg, #d97706 0%, #fbbf24 55%, #fb923c 100%) !important;
}

html.dark:not([data-theme="light"]) .ag-hero-aura {
  background: radial-gradient(
    640px circle at var(--aura-x, 50%) var(--aura-y, 44%),
    rgba(245, 158, 11, 0.13),
    rgba(251, 146, 60, 0.05) 44%,
    transparent 72%
  ) !important;
}

[data-theme="light"] .ag-hero-aura {
  background: radial-gradient(
    640px circle at var(--aura-x, 50%) var(--aura-y, 44%),
    rgba(217, 119, 6, 0.08),
    rgba(245, 158, 11, 0.04) 44%,
    transparent 72%
  ) !important;
}

.spotlight-card::after {
  background: radial-gradient(
    380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(251, 191, 36, 0.10),
    rgba(251, 146, 60, 0.04) 45%,
    transparent 70%
  ) !important;
}

[data-theme="light"] .spotlight-card::after {
  background: radial-gradient(
    360px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(217, 119, 6, 0.065),
    rgba(245, 158, 11, 0.03) 45%,
    transparent 70%
  ) !important;
}

/* 12. Animated Hero Scale Dot (Auto-Clicking Pulse + Ripple) & Typewriter Caret */
.hero-scale-dot {
  position: relative;
  display: inline-block;
  color: #fbbf24;
  margin-left: 1px;
  animation: heroDotClick 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  text-shadow: 0 0 18px rgba(251, 191, 36, 0.55);
  will-change: transform;
}

.hero-scale-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.14em;
  width: 0.28em;
  height: 0.28em;
  border-radius: 9999px;
  border: 2px solid #fbbf24;
  transform: translate(-50%, 50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
  animation: heroDotRipple 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

[data-theme="light"] .hero-scale-dot {
  color: #d97706 !important;
  text-shadow: 0 0 14px rgba(217, 119, 6, 0.28);
}

[data-theme="light"] .hero-scale-dot::after {
  border-color: #d97706 !important;
}

@keyframes heroDotClick {
  0%, 58%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  65% {
    transform: scale(0.72) translateY(2px);
    opacity: 0.78;
  }
  74% {
    transform: scale(1.16) translateY(-1px);
    opacity: 1;
  }
  84% {
    transform: scale(0.96);
    opacity: 1;
  }
}

@keyframes heroDotRipple {
  0%, 64% {
    transform: translate(-50%, 50%) scale(0.4);
    opacity: 0;
  }
  68% {
    transform: translate(-50%, 50%) scale(0.8);
    opacity: 0.85;
  }
  92%, 100% {
    transform: translate(-50%, 50%) scale(2.8);
    opacity: 0;
  }
}

.hero-typewriter-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.14em;
  background-color: #fbbf24;
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.65);
  animation: heroCaretBlink 0.85s step-end infinite;
}

[data-theme="light"] .hero-typewriter-caret {
  background-color: #d97706 !important;
  box-shadow: none;
}

@keyframes heroCaretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* 13. Antigravity-Style "Play intro" Stage & Floating Cursor Pill */
.ag-intro-stage {
  background: #050507 !important;
  box-shadow: 0 28px 70px -20px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ag-intro-stage,
  .ag-intro-stage * {
    cursor: none !important;
  }
}

.ag-intro-stage:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.ag-intro-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 25% 50%;
  pointer-events: none;
}

.ag-intro-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.92rem 1.7rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #09090b;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 36px -6px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.28);
  opacity: 0;
  transform: translate3d(-999px, -999px, 0);
  transition: opacity 0.2s ease, box-shadow 0.25s ease;
  will-change: transform, opacity;
}

.ag-intro-cursor.is-active {
  opacity: 1;
}

.ag-intro-stage:hover .ag-intro-cursor {
  box-shadow: 0 18px 42px -4px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.45);
}

@media (hover: none), (pointer: coarse) {
  .ag-intro-cursor {
    opacity: 1 !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}

[data-theme="light"] .ag-intro-stage {
  background: #050507 !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  box-shadow: 0 24px 60px -18px rgba(15, 23, 42, 0.24) !important;
}

[data-theme="light"] .ag-intro-grid {
  opacity: 0.5;
}

/* 14. Modern Floating WhatsApp Widget (All Pages — Clean Glass + Bright WhatsApp Green Icon) */
a[href*="wa.me/"].fixed {
  background: rgba(17, 17, 21, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(37, 211, 102, 0.35) !important;
  color: #25D366 !important;
  padding: 0.85rem !important;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.72), 0 0 24px -6px rgba(37, 211, 102, 0.32) !important;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease !important;
}

a[href*="wa.me/"].fixed::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 1.5px solid rgba(37, 211, 102, 0.55);
  pointer-events: none;
  animation: waOutlineHeartbeat 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes waOutlineHeartbeat {
  0%, 100% {
    transform: scale(1);
    opacity: 0.25;
  }
  12% {
    transform: scale(1.16);
    opacity: 0.85;
  }
  24% {
    transform: scale(1.03);
    opacity: 0.35;
  }
  36% {
    transform: scale(1.24);
    opacity: 0.75;
  }
  56% {
    transform: scale(1.32);
    opacity: 0;
  }
  75% {
    transform: scale(1);
    opacity: 0;
  }
}

a[href*="wa.me/"].fixed:hover {
  background: rgba(22, 22, 28, 0.96) !important;
  border-color: rgba(37, 211, 102, 0.6) !important;
  transform: translateY(-2px) scale(1.06) !important;
  box-shadow: 0 20px 42px -8px rgba(0, 0, 0, 0.8), 0 0 30px -2px rgba(37, 211, 102, 0.45) !important;
}

a[href*="wa.me/"].fixed svg,
a[href*="wa.me/"].fixed svg path {
  fill: #25D366 !important;
  color: #25D366 !important;
}

a[href*="wa.me/"].fixed > span:last-child {
  color: #fafafa !important;
}

a[href*="wa.me/"].fixed > span.animate-ping {
  display: none !important;
}

a[href*="wa.me/"].fixed > span:not(.animate-ping):not(:last-child) {
  top: 2px !important;
  right: 2px !important;
  width: 10px !important;
  height: 10px !important;
  background-color: #25D366 !important;
  box-shadow: 0 0 0 2px #09090b !important;
}

[data-theme="light"] a[href*="wa.me/"].fixed {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(37, 211, 102, 0.35) !important;
  box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.16), 0 0 20px -6px rgba(37, 211, 102, 0.28) !important;
}

[data-theme="light"] a[href*="wa.me/"].fixed > span:last-child {
  color: #0f172a !important;
}

[data-theme="light"] a[href*="wa.me/"].fixed > span:not(.animate-ping):not(:last-child) {
  box-shadow: 0 0 0 2px #ffffff !important;
}

/* 15. Modern Dark-Mode & Floating-Pill Google Map Card */
.ag-map-card {
  background: #0d0d10;
  box-shadow: 0 24px 54px -18px rgba(0, 0, 0, 0.75);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ag-map-card:hover {
  border-color: rgba(251, 191, 36, 0.3) !important;
}

html.dark:not([data-theme="light"]) .ag-map-iframe {
  filter: invert(91%) hue-rotate(180deg) brightness(95%) contrast(92%) saturate(85%);
}

[data-theme="light"] .ag-map-card {
  background: #f4f4f5;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 18px 44px -16px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .ag-map-iframe {
  filter: none;
}

.ag-map-overlay-top {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.ag-map-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  background: rgba(13, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f4f5 !important;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ag-map-cta:hover {
  background: #fbbf24 !important;
  border-color: #fbbf24 !important;
  color: #09090b !important;
  transform: translateY(-1px);
}

.ag-map-cta:hover * {
  color: #09090b !important;
}

[data-theme="light"] .ag-map-pill {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.1);
  color: #18181b !important;
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .ag-map-pill span:not(.bg-amber-400) {
  color: #18181b !important;
}

[data-theme="light"] .ag-map-cta:hover {
  background: #18181b !important;
  border-color: #18181b !important;
  color: #ffffff !important;
}

[data-theme="light"] .ag-map-cta:hover span {
  color: #ffffff !important;
}

/* 16. Minimalist Tech-Icon Tile Pattern for #contact ("Let's Discuss Your Business Requirements") */
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-repeat: repeat;
  background-size: 180px 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180' fill='none' stroke='rgba(251,191,36,0.075)' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(20 20)'%3E%3Cpath d='M8 6L2 12l6 6M16 6l6 6-6 6M14 4l-4 16'/%3E%3C/g%3E%3Cg transform='translate(110 24)'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3C/g%3E%3Cg transform='translate(62 76)'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='M22 7l-10 6L2 7'/%3E%3C/g%3E%3Cg transform='translate(132 104)'%3E%3Cpath d='M12 22s-7-6.5-7-12a7 7 0 1 1 14 0c0 5.5-7 12-7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/g%3E%3Cg transform='translate(24 128)'%3E%3Cpath d='M12 2l7 3.5v5.5c0 4.8-3 8.9-7 10.5-4-1.6-7-5.7-7-10.5V5.5L12 2z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 50% 50%, #000 30%, transparent 96%);
  mask-image: radial-gradient(ellipse 88% 82% at 50% 50%, #000 30%, transparent 96%);
}

[data-theme="light"] #contact::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180' fill='none' stroke='rgba(15,23,42,0.05)' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(20 20)'%3E%3Cpath d='M8 6L2 12l6 6M16 6l6 6-6 6M14 4l-4 16'/%3E%3C/g%3E%3Cg transform='translate(110 24)'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3C/g%3E%3Cg transform='translate(62 76)'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='M22 7l-10 6L2 7'/%3E%3C/g%3E%3Cg transform='translate(132 104)'%3E%3Cpath d='M12 22s-7-6.5-7-12a7 7 0 1 1 14 0c0 5.5-7 12-7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/g%3E%3Cg transform='translate(24 128)'%3E%3Cpath d='M12 2l7 3.5v5.5c0 4.8-3 8.9-7 10.5-4-1.6-7-5.7-7-10.5V5.5L12 2z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/g%3E%3C/svg%3E");
}

/* 16. Videos Page Pagination Pills */
.videos-page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.videos-page-btn:hover:not(:disabled):not(.active) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(251, 191, 36, 0.45);
  color: #ffffff;
}

.videos-page-btn.active {
  background: #f59e0b;
  border-color: #fbbf24;
  color: #09090b;
  font-weight: 700;
  box-shadow: 0 6px 18px -4px rgba(245, 158, 11, 0.45);
}

.videos-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

[data-theme="light"] .videos-page-btn {
  background: #ffffff;
  border-color: #e4e4e7;
  color: #18181b;
}

[data-theme="light"] .videos-page-btn.active {
  background: #d97706;
  border-color: #b45309;
  color: #ffffff;
}

/* ==========================================================================
   Navbar 'Talk to Us' Heartbeat Outline Animation (Matches WhatsApp Ring)
   ========================================================================== */
header .talk-to-us-btn {
  overflow: visible !important;
  position: relative;
}

header .talk-to-us-btn::before {
  display: none !important;
}

header .talk-to-us-btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 1.5px solid rgba(251, 191, 36, 0.72);
  pointer-events: none;
  animation: talkToUsOutlineHeartbeat 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

[data-theme="light"] header .talk-to-us-btn::after {
  border-color: rgba(217, 119, 6, 0.72);
}

@keyframes talkToUsOutlineHeartbeat {
  0%, 100% {
    transform: scale(1);
    opacity: 0.25;
  }
  12% {
    transform: scale(1.08, 1.24);
    opacity: 0.9;
  }
  24% {
    transform: scale(1.02, 1.06);
    opacity: 0.35;
  }
  36% {
    transform: scale(1.13, 1.36);
    opacity: 0.8;
  }
  56% {
    transform: scale(1.18, 1.48);
    opacity: 0;
  }
  75% {
    transform: scale(1);
    opacity: 0;
  }
}

header .talk-to-us-btn:hover::after {
  animation-play-state: paused;
}




