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

:root {
  --font-body: Inter, system-ui, -apple-system, sans-serif;
  --font-heading: Inter, system-ui, -apple-system, sans-serif;
  --font-family: var(--font-body);

  --bg: #07070a;
  --surface: #0f0f14;
  --surface-elevated: #13131a;
  --text: #E6E8F0;
  --muted: #8892A4;
  --dim: #5A6272;
  --border: rgba(255, 255, 255, 0.07);
  --grid: rgba(255, 255, 255, 0.03);

  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-elevated: #1a1a1a;
  --bg-card: #141414;
  --text-primary: var(--text);
  --text-secondary: var(--muted);
  --text-muted: var(--muted);
  --text-dim: var(--dim);
  --accent: var(--text);
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --grid-color: var(--grid);

  --c-bg: var(--bg);
  --c-surface: var(--surface);
  --c-card: var(--surface-elevated);
  --c-border: var(--border);
  --c-text: var(--text);
  --c-muted: var(--muted);
  --c-dim: var(--dim);
  --c-violet: #7f63f6;
  --c-cyan: #00d4ff;
  --c-blue: #3b82f6;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;

  --prose-width: 650px;
}

html[data-theme="light"] {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --dim: #64748B;
  --border: rgba(15, 23, 42, 0.08);
  --grid: rgba(15, 23, 42, 0.05);

  --bg-primary: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --text-primary: var(--text);
  --text-secondary: var(--muted);
  --text-muted: var(--muted);
  --text-dim: var(--dim);
  --accent: var(--text);
  --grid-color: var(--grid);

  --c-bg: var(--bg);
  --c-surface: var(--surface);
  --c-card: var(--surface-elevated);
  --c-border: rgba(15, 23, 42, 0.06);
  --c-text: var(--text);
  --c-muted: var(--muted);
  --c-dim: var(--dim);
}

/* ==========================================================================
   8. THEME SYSTEM (Consolidated Light Theme)
   ========================================================================== */

/* Variables and High-Priority Overrides for Light Theme */
body.light-theme {
  --bg: #F8FAFC;
  --bg-primary: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --text: #0F172A;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --muted: #475569;
  --dim: #64748B;
  --border: rgba(15, 23, 42, 0.08);
  --border-light: rgba(15, 23, 42, 0.05);
  --grid-color: rgba(15, 23, 42, 0.06);

  background-color: var(--bg) !important;
  color: var(--text) !important;
}

/* Force Global Forced Overrides */
body.light-theme .section,
body.light-theme section,
body.light-theme .hero,
body.light-theme .trust-strip,
body.light-theme .logos-carousel-section,
body.light-theme .reviews-section,
body.light-theme .legal-section,
body.light-theme .section-rocket,
body.light-theme .faq-section,
body.light-theme .cs-hero {
  background-color: var(--bg) !important;
}

/* Navigation & Toggle */
body.light-theme .nav {
  background: rgba(248, 250, 252, 0.92) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.light-theme .nav-cta {
  background: var(--accent-gradient) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 14px -4px rgba(59, 130, 246, 0.5) !important;
}

body.light-theme .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -4px rgba(59, 130, 246, 0.6) !important;
}

body.light-theme .nav-container {
  color: var(--text-primary) !important;
}

body.light-theme .nav-link {
  color: var(--text-primary) !important;
}

body.light-theme .theme-toggle {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.2) !important;
}

body.light-theme .theme-icon-on { display: none !important; }
body.light-theme .theme-icon-off { display: inline-flex !important; }

/* Grid Backgrounds */
body.light-theme .hero-grid-bg,
body.light-theme .bg-grid-pattern,
body.light-theme .cs-hero-grid,
body.light-theme .roadmap-game {
  background-image: 
    linear-gradient(var(--grid-color) 1px, transparent 1px), 
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px) !important;
}

/* Logo Visibility Fix (Make Black) */
body.light-theme .nav-logo img,
body.light-theme .footer-logo img,
body.light-theme .logo img,
body.light-theme [class*="logo"] img {
  filter: brightness(0) !important;
  opacity: 1 !important;
}

/* Roadmap Fixes (How We Work) */
body.light-theme .roadmap-game {
  background-color: var(--bg) !important;
}

/* Why Section Fixes */
body.light-theme .why-display-panel {
  background: #FFFFFF !important;
  border-color: var(--border) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.light-theme .why-panel-title {
  color: #0F172A !important;
}

body.light-theme .why-list-styled li {
  color: #334155 !important;
}

body.light-theme .abstract-graph {
  background: rgba(15, 23, 42, 0.02) !important;
  border-radius: 8px;
  padding: 10px;
}

/* Scroll to Top Button Standardization */
html[data-theme="light"] #scrollToTopBtn,
body.light-theme #scrollToTopBtn,
html[data-theme="light"] .custom-scroll-top-btn,
body.light-theme .custom-scroll-top-btn,
html[data-theme="light"] .back-to-top,
body.light-theme .back-to-top {
  background: linear-gradient(135deg, #3b82f6 0%, #7f63f6 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(79, 70, 229, 0.18) !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 34px -22px rgba(79, 70, 229, 0.72), 0 0 28px -20px rgba(59, 130, 246, 0.95) !important;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999 !important;
}

html[data-theme="light"] #scrollToTopBtn svg,
body.light-theme #scrollToTopBtn svg,
html[data-theme="light"] #scrollToTopBtn i,
body.light-theme #scrollToTopBtn i,
html[data-theme="light"] .custom-scroll-top-btn svg,
body.light-theme .custom-scroll-top-btn svg,
html[data-theme="light"] .custom-scroll-top-btn i,
body.light-theme .custom-scroll-top-btn i,
html[data-theme="light"] .back-to-top svg,
body.light-theme .back-to-top svg,
html[data-theme="light"] .back-to-top i,
body.light-theme .back-to-top i {
  color: #FFFFFF !important;
  font-size: 20px;
}

html[data-theme="light"] #scrollToTopBtn:hover,
body.light-theme #scrollToTopBtn:hover,
html[data-theme="light"] .custom-scroll-top-btn:hover,
body.light-theme .custom-scroll-top-btn:hover,
html[data-theme="light"] .back-to-top:hover,
body.light-theme .back-to-top:hover {
  background: linear-gradient(135deg, #2563eb 0%, #6d5dfc 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
}

html[data-theme="light"] #scrollToTopBtn:hover svg,
body.light-theme #scrollToTopBtn:hover svg,
html[data-theme="light"] #scrollToTopBtn:hover i,
body.light-theme #scrollToTopBtn:hover i,
html[data-theme="light"] .custom-scroll-top-btn:hover svg,
body.light-theme .custom-scroll-top-btn:hover svg,
html[data-theme="light"] .custom-scroll-top-btn:hover i,
body.light-theme .custom-scroll-top-btn:hover i,
html[data-theme="light"] .back-to-top:hover svg,
body.light-theme .back-to-top:hover svg,
html[data-theme="light"] .back-to-top:hover i,
body.light-theme .back-to-top:hover i {
  color: #FFFFFF !important;
}


body.light-theme .roadmap-title {
  background: none !important;
  -webkit-text-fill-color: initial !important;
  color: #0F172A !important;
}

body.light-theme .roadmap-subtitle {
  color: var(--text-secondary) !important;
}

body.light-theme .step-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

body.light-theme .step-text {
  color: var(--text-secondary) !important;
}

body.light-theme .step-mini-ui {
  background: var(--bg-secondary) !important;
  border-color: var(--border) !important;
}

body.light-theme .game-path-svg {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.05)) !important;
  opacity: 0.8 !important;
}

/* Specific Section: Why Pro Visualizers */
body.light-theme .why-card,
body.light-theme .why-tab-content {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

body.light-theme .why-sidebar button {
  color: var(--dim) !important;
}

body.light-theme .why-sidebar button.active {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

/* Global Effects Cleanup */
body.light-theme * {
  text-shadow: none !important;
}

body.light-theme .glow,
body.light-theme [class*="glow"] {
  display: none !important;
  background: transparent !important;
}

/* Card Standardization */
body.light-theme .card,
body.light-theme .service-card,
body.light-theme .faq-item,
body.light-theme .roi-card,
body.light-theme .calc-card,
body.light-theme .feature-card,
body.light-theme .proof-card,
body.light-theme .cs-card,
body.light-theme .cs-float-card,
body.light-theme .testimonial-main-box,
body.light-theme .team-card,
body.light-theme .problem-card,
body.light-theme .benefit-block,
body.light-theme [class*="bg-[#0A0A0A]"],
body.light-theme [class*="bg-[#0F0F0F]"],
body.light-theme [class*="bg-[#111]"],
body.light-theme [class*="bg-black/40"] {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
}

/* Headings Contrast Improvement */
body.light-theme h1, 
body.light-theme h2, 
body.light-theme h3, 
body.light-theme h4 {
  color: var(--text-primary) !important;
}

body.light-theme .grad-heading,
body.light-theme .hero-title .grad,
body.light-theme .training-hero-title .grad,
body.light-theme .c-hero-h1 .grad,
body.light-theme .legal-title,
body.light-theme .cs-hero-title {
  background: linear-gradient(130deg, var(--text-primary) 0%, #7f63f6 55%, var(--c-cyan) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Handle white-text helper classes in light mode */
body.light-theme :is(h1, h2, h3, h4, h5, h6)[class*="text-white"],
body.light-theme :is(p, li, blockquote, dt, dd, small, label, span, strong)[class*="text-white"] {
  color: var(--text) !important;
}

body.light-theme [class*="text-gray-200"],
body.light-theme [class*="text-gray-400"],
body.light-theme [class*="text-gray-500"],
body.light-theme [class*="text-gray-600"],
body.light-theme [class*="text-zinc"] {
  color: var(--muted) !important;
}

/* Border Replacement for Light Theme */
body.light-theme [class*="border-[#222]"],
body.light-theme [class*="border-black"],
body.light-theme [class*="border-gray-800"],
body.light-theme [class*="border-gray-900"],
body.light-theme [class*="border-[#333]"],
body.light-theme [class*="border-white/10"] {
  border-color: var(--border) !important;
}

/* Footer Implementation (Refactor & Reinforce) */
body.light-theme .footer-v3 {
  background: var(--bg) !important;
  border-top: 1px solid var(--border) !important;
  padding: 4rem 0 2rem;
}

body.light-theme .footer-main-block {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 0 3rem;
  border-bottom: 1px solid var(--border) !important;
  margin-bottom: 3rem;
  border-radius: 0 !important;
}

body.light-theme .footer-divider-vertical {
  background: var(--border) !important;
}

body.light-theme .footer-bottom-bar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border) !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

body.light-theme .footer-nav-col h4 {
  color: var(--text-primary) !important;
  font-weight: 600;
}

body.light-theme .footer-nav-col a {
  color: var(--muted) !important;
}

body.light-theme .footer-nav-col a:hover {
  color: var(--text-primary) !important;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-family: var(--font-heading);
}

h1 {
  font-size: clamp(2.4rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
}

h2 {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
}

h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

p {
  max-width: 650px;
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

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

img,
svg {
  max-width: 100%;
}

svg text {
  font-family: inherit;
}

b,
strong {
  color: var(--text-primary);
}

.text-lg {
  font-size: 18px;
}

.text-sm {
  font-size: 14px;
  color: var(--text-secondary);
}

.text-base {
  font-size: 1rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-xs {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.text-muted {
  color: var(--text-secondary);
}

.text-dim {
  color: var(--text-dim);
}

.text-violet {
  color: var(--c-violet);
}

.text-cyan {
  color: var(--c-cyan);
}

.text-blue {
  color: var(--c-blue);
}

.grad-heading {
  background: linear-gradient(130deg, var(--text-primary) 0%, #c4b5ff 50%, var(--c-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-violet);
  margin-bottom: var(--space-md);
}

.eyebrow-label::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--c-violet);
  border-radius: 2px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.section-gap {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section-gap-sm {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-violet), transparent);
  border: none;
  margin: var(--space-md) 0;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

.font-heading,
.font-body,
.font-inter,
.font-sans {
  font-family: inherit !important;
}

.nav-links a,
.nav-cta,
.footer-v3,
.footer-v3 * {
  font-family: inherit;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -14px rgba(59, 130, 246, 0.4);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-off {
  display: none;
}

.theme-icon-on {
  display: inline-flex;
}

/* Dark Theme Footer Defaults */
.footer-v3 {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main-block {
  display: flex;
  gap: 3rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 4rem;
}

.footer-divider-vertical {
  width: 1px;
  background: var(--border);
}

.footer-bottom-bar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex !important;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   9. LIGHT THEME REFINEMENTS
   Keep structure identical to dark theme while softening surfaces for light
   ========================================================================== */

html[data-theme="light"] body {
  background: var(--bg) !important;
  color: var(--text) !important;
}

html[data-theme="light"] .nav {
  background: rgba(248, 250, 252, 0.92) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

html[data-theme="light"] .theme-toggle {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: var(--text) !important;
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.22) !important;
}

html[data-theme="light"] .theme-toggle:hover {
  box-shadow: 0 14px 28px -18px rgba(15, 23, 42, 0.26) !important;
}

html[data-theme="light"] .nav-cta {
  background: linear-gradient(135deg, #3b82f6 0%, #7f63f6 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(79, 70, 229, 0.18) !important;
  box-shadow: 0 16px 34px -22px rgba(79, 70, 229, 0.65), 0 0 24px -18px rgba(59, 130, 246, 0.9) !important;
}

html[data-theme="light"] .nav-cta:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.04);
  box-shadow: 0 20px 40px -22px rgba(79, 70, 229, 0.75), 0 0 30px -18px rgba(59, 130, 246, 0.95) !important;
}

html[data-theme="light"] .btn-primary,
body.light-theme .btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #7f63f6 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(79, 70, 229, 0.18) !important;
  box-shadow: 0 16px 34px -22px rgba(79, 70, 229, 0.65), 0 0 24px -18px rgba(59, 130, 246, 0.9) !important;
}

html[data-theme="light"] .btn-primary:hover,
body.light-theme .btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 20px 40px -22px rgba(79, 70, 229, 0.75), 0 0 30px -18px rgba(59, 130, 246, 0.95) !important;
}

html[data-theme="light"] .nav-logo img {
  /* Light theme logo recolor skipped because current logo asset is raster/static. */
  filter: brightness(0) contrast(1.05) !important;
  opacity: 1 !important;
}

html[data-theme="light"] .hero-grid-bg,
html[data-theme="light"] .bg-grid-pattern,
html[data-theme="light"] .cs-hero-grid,
html[data-theme="light"] .roadmap-game {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px) !important;
}

html[data-theme="light"] .trust-strip,
html[data-theme="light"] .reviews-section,
html[data-theme="light"] .section-rocket,
html[data-theme="light"] .faq-section,
html[data-theme="light"] .legal-section,
html[data-theme="light"] .cs-hero,
html[data-theme="light"] .roadmap-game {
  background-color: var(--bg) !important;
}

html[data-theme="light"] .services,
html[data-theme="light"] .final-cta,
html[data-theme="light"] .v1-stats-bar-wrapper {
  background: var(--bg-secondary) !important;
}

html[data-theme="light"] .trust-strip::before,
html[data-theme="light"] .final-cta::before,
html[data-theme="light"] .footer-v3::before,
html[data-theme="light"] .why-display-panel::before {
  display: none !important;
}

html[data-theme="light"] .hero-title .grad,
html[data-theme="light"] .training-hero-title .grad,
html[data-theme="light"] .c-hero-h1 .grad {
  display: inline-block;
  background: linear-gradient(130deg, #0f172a 0%, #7f63f6 55%, #00b8f0 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

html[data-theme="light"] .dashboard-mockup,
html[data-theme="light"] .why-display-panel,
html[data-theme="light"] .diagnosis-text,
html[data-theme="light"] .diagnosis-conclusion,
html[data-theme="light"] .data-flow-visual,
html[data-theme="light"] .step-card,
html[data-theme="light"] .why-tab,
html[data-theme="light"] .why-tab-content,
html[data-theme="light"] .chart-container,
html[data-theme="light"] .kpi-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 18px 36px -28px rgba(15, 23, 42, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-theme="light"] .mockup-header,
html[data-theme="light"] .step-mini-ui,
html[data-theme="light"] .abstract-graph {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .why-tab {
  color: var(--muted) !important;
}

html[data-theme="light"] .why-tab:hover,
html[data-theme="light"] .why-tab.active {
  color: var(--text) !important;
  background: #ffffff !important;
  border-right-color: #3b82f6 !important;
}

html[data-theme="light"] .why-panel-title,
html[data-theme="light"] .conclusion-text,
html[data-theme="light"] .roadmap-title,
html[data-theme="light"] .mockup-title,
html[data-theme="light"] .kpi-value {
  color: var(--text) !important;
}

html[data-theme="light"] .roadmap-subtitle,
html[data-theme="light"] .step-text,
html[data-theme="light"] .why-list-styled li,
html[data-theme="light"] .diagnosis-intro,
html[data-theme="light"] .diagnosis-list,
html[data-theme="light"] .flow-label,
html[data-theme="light"] .trust-label,
html[data-theme="light"] .trust-subtitle,
html[data-theme="light"] .trust-context {
  color: var(--muted) !important;
}

html[data-theme="light"] .client-logo,
html[data-theme="light"] .logo-marquee-track .client-logo,
html[data-theme="light"] .logo-marquee .client-logo,
html[data-theme="light"] .logo-marquee-wrapper .client-logo {
  filter: none !important;
  opacity: 1 !important;
}

html[data-theme="light"] .footer-v3 {
  background: var(--bg) !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .footer-main-block {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px -34px rgba(15, 23, 42, 0.18) !important;
  padding: 2rem 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

html[data-theme="light"] .footer-logo-circular {
  filter: brightness(0.2) contrast(1.15) !important;
  opacity: 0.92 !important;
}

html[data-theme="light"] .footer-divider-vertical {
  background: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .footer-nav-grid {
  padding-top: 2.5rem !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  margin-bottom: 2.5rem !important;
}

html[data-theme="light"] .footer-nav-col:not(:last-child)::after {
  background: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .footer-nav-col h4,
html[data-theme="light"] .footer-company-name,
html[data-theme="light"] .footer-gst,
html[data-theme="light"] .story-title {
  color: var(--text) !important;
}

html[data-theme="light"] .footer-nav-col a,
html[data-theme="light"] .story-text,
html[data-theme="light"] .footer-copyright-left {
  color: var(--muted) !important;
}

html[data-theme="light"] .footer-bottom-bar {
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  margin-top: 0 !important;
  padding-top: 2rem !important;
}

/* Services Navigation Dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown.is-current > .nav-dropdown-trigger,
.nav-dropdown:hover > .nav-dropdown-trigger,
.nav-dropdown:focus-within > .nav-dropdown-trigger {
  color: var(--text-primary);
}

.nav-dropdown.is-current > .nav-dropdown-trigger::after,
.nav-dropdown:hover > .nav-dropdown-trigger::after,
.nav-dropdown:focus-within > .nav-dropdown-trigger::after {
  width: 100%;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 1100;
  width: min(360px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 18px;
  background: rgba(8, 15, 30, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 28px 60px -34px rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.services-dropdown {
  width: min(760px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) 1px minmax(0, 0.6fr);
  align-items: stretch;
  gap: 16px;
  padding: 14px;
  transform: translate(-38%, 10px);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px;
}

.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown:focus-within .services-dropdown {
  transform: translate(-38%, 0);
}

@media (hover: hover) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .nav-dropdown:hover .services-dropdown {
    transform: translate(-38%, 0);
  }
}

.services-featured-offer {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  margin-left: 0 !important;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.08)),
    rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.services-featured-offer::after {
  content: none !important;
  display: none !important;
}

.services-featured-offer:hover {
  border-color: rgba(96, 165, 250, 0.34);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(139, 92, 246, 0.11)),
    rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -30px rgba(59, 130, 246, 0.85);
}

.services-featured-kicker {
  display: block;
  margin-bottom: 12px;
  color: #93c5fd;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.services-featured-title {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.services-featured-description {
  display: block;
  margin-bottom: 16px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.82rem;
  line-height: 1.55;
}

.services-featured-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.services-featured-offer[aria-current="page"] {
  border-color: rgba(96, 165, 250, 0.42);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.13)),
    rgba(255, 255, 255, 0.05);
}

.services-dropdown-divider {
  display: block;
  width: 1px;
  min-height: 100%;
  background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.22), transparent);
}

.services-dropdown-list {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.nav-dropdown-item {
  display: block;
  margin-left: 0 !important;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-dropdown-item + .nav-dropdown-item {
  margin-top: 6px;
}

.nav-dropdown-menu .nav-dropdown-item::after {
  content: none !important;
  display: none !important;
}

.nav-dropdown-menu .nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -28px rgba(2, 6, 23, 0.8);
}

.nav-dropdown-title {
  display: block;
  margin-bottom: 6px;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.25;
  color: #f8fafc;
}

.nav-dropdown-description {
  display: block;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.78);
}

.nav-dropdown-item[aria-current="page"] {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.22);
}

.nav-dropdown-item[aria-current="page"] .nav-dropdown-title {
  color: #ffffff;
}

.nav-dropdown-item[aria-current="page"] .nav-dropdown-description {
  color: rgba(226, 232, 240, 0.88);
}

html[data-theme="light"] .nav-dropdown.is-current > .nav-dropdown-trigger,
body.light-theme .nav-dropdown.is-current > .nav-dropdown-trigger,
html[data-theme="light"] .nav-dropdown:hover > .nav-dropdown-trigger,
body.light-theme .nav-dropdown:hover > .nav-dropdown-trigger,
html[data-theme="light"] .nav-dropdown:focus-within > .nav-dropdown-trigger,
body.light-theme .nav-dropdown:focus-within > .nav-dropdown-trigger {
  color: var(--text) !important;
}

html[data-theme="light"] .nav-dropdown-menu,
body.light-theme .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.24);
}

html[data-theme="light"] .services-featured-offer,
body.light-theme .services-featured-offer {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.06)),
    #ffffff;
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.22);
}

html[data-theme="light"] .services-featured-offer:hover,
body.light-theme .services-featured-offer:hover {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.11), rgba(124, 58, 237, 0.08)),
    #ffffff;
  border-color: rgba(37, 99, 235, 0.22);
}

html[data-theme="light"] .services-featured-kicker,
body.light-theme .services-featured-kicker {
  color: #2563eb;
}

html[data-theme="light"] .services-featured-title,
body.light-theme .services-featured-title {
  color: #0f172a;
}

html[data-theme="light"] .services-featured-description,
body.light-theme .services-featured-description {
  color: #475569;
}

html[data-theme="light"] .services-featured-cta,
body.light-theme .services-featured-cta {
  color: #111827;
}

html[data-theme="light"] .services-featured-offer[aria-current="page"],
body.light-theme .services-featured-offer[aria-current="page"] {
  border-color: rgba(37, 99, 235, 0.26);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.08)),
    #ffffff;
}

html[data-theme="light"] .services-dropdown-divider,
body.light-theme .services-dropdown-divider {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.14), transparent);
}

html[data-theme="light"] .nav-dropdown-menu .nav-dropdown-item:hover,
body.light-theme .nav-dropdown-menu .nav-dropdown-item:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 30px -28px rgba(15, 23, 42, 0.24);
}

html[data-theme="light"] .nav-dropdown-title,
body.light-theme .nav-dropdown-title {
  color: #111827;
}

html[data-theme="light"] .nav-dropdown-description,
body.light-theme .nav-dropdown-description {
  color: #475569;
}

html[data-theme="light"] .nav-dropdown-item[aria-current="page"],
body.light-theme .nav-dropdown-item[aria-current="page"] {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.16);
}

html[data-theme="light"] .nav-dropdown-item[aria-current="page"] .nav-dropdown-title,
body.light-theme .nav-dropdown-item[aria-current="page"] .nav-dropdown-title {
  color: #111827;
}

html[data-theme="light"] .nav-dropdown-item[aria-current="page"] .nav-dropdown-description,
body.light-theme .nav-dropdown-item[aria-current="page"] .nav-dropdown-description {
  color: #475569;
}

@media (max-width: 900px) {
  .nav-dropdown-menu {
    width: min(340px, calc(100vw - 24px));
  }
}

@media (max-width: 1080px) and (min-width: 901px) {
  .services-dropdown {
    width: min(640px, calc(100vw - 32px));
    transform: translate(-34%, 10px);
  }

  .nav-dropdown:focus-within .services-dropdown {
    transform: translate(-34%, 0);
  }

}

@media (max-width: 1080px) and (min-width: 901px) and (hover: hover) {
  .nav-dropdown:hover .services-dropdown {
    transform: translate(-34%, 0);
  }
}

/* ==========================================================================
   10. MOBILE EXPERIENCE UPGRADE
   Shared mobile navigation, spacing, buttons, and footer structure.
   ========================================================================== */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

.mobile-nav-actions,
.mobile-menu,
.mobile-menu-backdrop {
  display: none;
}

.mobile-menu-open,
.mobile-menu-open body {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav {
    height: 68px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
  }

  .nav-container {
    height: 68px !important;
    padding: 0 16px !important;
    gap: 12px !important;
  }

  .nav-logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .nav-logo img {
    height: 30px !important;
    max-width: min(210px, 54vw);
    object-fit: contain;
    object-position: left center;
  }

  .nav-links,
  .nav-actions {
    display: none !important;
  }

  .mobile-nav-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
  }

  .mobile-nav-actions .theme-toggle {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
  }

  .mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.24s ease, opacity 0.2s ease;
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 34px -28px rgba(0, 0, 0, 0.8);
    outline: none;
  }

  .nav-mobile-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-mobile-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-mobile-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 68px 0 0;
    z-index: 998;
    display: block;
    background: rgba(2, 6, 23, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
  }

  .mobile-menu {
    position: fixed;
    top: 78px;
    left: 12px;
    right: 12px;
    z-index: 1001;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  }

  .nav-mobile-open .mobile-menu,
  .nav-mobile-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-mobile-open .mobile-menu {
    transform: translateY(0) scale(1);
  }

  .mobile-menu-panel {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    background: rgba(8, 15, 30, 0.96);
    box-shadow: 0 30px 70px -38px rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  .mobile-menu-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 4px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    margin-bottom: 8px;
  }

  .mobile-menu-kicker {
    color: rgba(226, 232, 240, 0.58);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-menu-home {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 650;
  }

  .mobile-menu-links {
    display: grid;
    gap: 8px;
  }

  .mobile-menu-link,
  .mobile-menu-summary,
  .mobile-menu-cta {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.25;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  }

  .mobile-menu-link[aria-current="page"],
  .mobile-menu-service[aria-current="page"] {
    border-color: rgba(96, 165, 250, 0.28);
    background: rgba(59, 130, 246, 0.12);
  }

  .mobile-menu-link:hover,
  .mobile-menu-summary:hover,
  .mobile-menu-service:hover,
  .mobile-menu-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-menu-link:focus,
  .mobile-menu-summary:focus,
  .mobile-menu-service:focus,
  .mobile-menu-cta:focus {
    outline: none;
  }

  .mobile-menu-link:focus-visible,
  .mobile-menu-summary:focus-visible,
  .mobile-menu-service:focus-visible,
  .mobile-menu-cta:focus-visible {
    box-shadow: 0 0 0 2px rgba(127, 99, 246, 0.38);
  }

  .mobile-menu-group {
    border-radius: 14px;
  }

  .mobile-menu-group summary {
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu-group summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu-summary-icon {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.7;
    transition: transform 0.22s ease;
  }

  .mobile-menu-group[open] .mobile-menu-summary-icon {
    transform: rotate(225deg) translateY(-1px);
  }

  .mobile-menu-services {
    display: grid;
    gap: 8px;
    padding: 8px 0 2px;
  }

  .mobile-menu-service {
    display: block;
    padding: 13px 14px;
    border-radius: 13px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(255, 255, 255, 0.025);
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  }

  .mobile-menu-service-title {
    display: block;
    margin-bottom: 5px;
    font-size: 0.91rem;
    font-weight: 650;
    line-height: 1.25;
  }

  .mobile-menu-service-description {
    display: block;
    color: rgba(226, 232, 240, 0.68);
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .mobile-menu-featured-offer {
    background:
      linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.08)),
      rgba(255, 255, 255, 0.035);
    border-color: rgba(96, 165, 250, 0.22);
  }

  .mobile-menu-service-kicker {
    display: block;
    margin-bottom: 7px;
    color: #93c5fd;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .mobile-menu-service-cta {
    display: inline-block;
    margin-top: 10px;
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .mobile-menu-cta {
    justify-content: center;
    margin-top: 12px;
    background: var(--accent-gradient);
    border-color: transparent;
    color: #ffffff;
    min-height: 46px;
  }

  html[data-theme="light"] .mobile-menu-toggle,
  body.light-theme .mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.1);
    color: #0f172a;
    box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.24);
  }

  html[data-theme="light"] .mobile-menu-backdrop,
  body.light-theme .mobile-menu-backdrop {
    background: rgba(15, 23, 42, 0.28);
  }

  html[data-theme="light"] .mobile-menu-panel,
  body.light-theme .mobile-menu-panel {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 30px 70px -42px rgba(15, 23, 42, 0.42);
  }

  html[data-theme="light"] .mobile-menu-panel-header,
  body.light-theme .mobile-menu-panel-header {
    border-bottom-color: rgba(15, 23, 42, 0.08);
  }

  html[data-theme="light"] .mobile-menu-kicker,
  body.light-theme .mobile-menu-kicker {
    color: #64748b;
  }

  html[data-theme="light"] .mobile-menu-link,
  html[data-theme="light"] .mobile-menu-summary,
  html[data-theme="light"] .mobile-menu-service,
  body.light-theme .mobile-menu-link,
  body.light-theme .mobile-menu-summary,
  body.light-theme .mobile-menu-service {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
    color: #0f172a;
  }

  html[data-theme="light"] .mobile-menu-service-description,
  body.light-theme .mobile-menu-service-description {
    color: #64748b;
  }

  html[data-theme="light"] .mobile-menu-featured-offer,
  body.light-theme .mobile-menu-featured-offer {
    background:
      linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.06)),
      #ffffff;
    border-color: rgba(37, 99, 235, 0.14);
  }

  html[data-theme="light"] .mobile-menu-service-kicker,
  body.light-theme .mobile-menu-service-kicker {
    color: #2563eb;
  }

  html[data-theme="light"] .mobile-menu-service-cta,
  body.light-theme .mobile-menu-service-cta {
    color: #0f172a;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 34px;
    --space-xl: 56px;
  }

  .container,
  .section-container,
  .cs-container {
    width: min(100% - 32px, var(--container-width, 1200px)) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  section,
  .section,
  .section-rocket,
  .cs-section-full,
  .training-section {
    scroll-margin-top: 82px;
  }

  h1,
  .hero-title,
  .training-hero-title,
  .c-hero-h1,
  .cs-hero-title {
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
  }

  p,
  li {
    overflow-wrap: break-word;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .nav-cta,
  .mobile-menu-cta,
  .c-hero-cta,
  .pricing-btn,
  .hero-actions a,
  .final-cta a {
    min-height: 44px !important;
    padding: 0.72rem 1rem !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    line-height: 1.2 !important;
  }

  .hero-actions,
  .cta-actions,
  .final-cta-actions {
    gap: 0.75rem !important;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions a {
    width: 100%;
    max-width: 330px;
    justify-content: center;
    text-align: center;
  }

  .footer-v3 {
    padding: 3rem 0 1.5rem !important;
  }

  .footer-main-block {
    flex-direction: column !important;
    gap: 1.25rem !important;
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    border-radius: 18px !important;
  }

  .footer-brand-side {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .footer-logo-circular {
    width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px !important;
  }

  .footer-brand-info {
    min-width: 0;
  }

  .footer-company-name {
    font-size: 1rem !important;
    line-height: 1.25 !important;
  }

  .footer-gst,
  .footer-credibility,
  .story-text {
    font-size: 0.84rem !important;
    line-height: 1.6 !important;
  }

  .footer-divider-vertical {
    display: none !important;
  }

  .footer-story-side {
    width: 100% !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid var(--border) !important;
  }

  .story-title {
    margin-bottom: 0.5rem !important;
    font-size: 0.98rem !important;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0.5rem 0 1.25rem !important;
    margin-bottom: 0 !important;
    border-top: 0 !important;
  }

  .footer-nav-col {
    position: relative !important;
    padding: 1.1rem 0 !important;
    border-top: 1px solid var(--border) !important;
  }

  .footer-nav-col::after {
    display: none !important;
  }

  .footer-nav-col h4 {
    margin-bottom: 0.65rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.09em !important;
  }

  .footer-nav-col ul,
  .footer-nav-col ul[style] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.42rem !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-nav-col li {
    margin: 0 !important;
  }

  .footer-nav-col a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.6rem !important;
    margin-top: 0 !important;
    padding-top: 1.25rem !important;
  }

  .footer-copyright-left,
  .footer-motto-right {
    text-align: left !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 420px) {
  .nav-container {
    padding: 0 12px !important;
  }

  .nav-logo img {
    max-width: 50vw;
    height: 28px !important;
  }

  .mobile-nav-actions {
    gap: 6px;
  }

  .mobile-nav-actions .theme-toggle,
  .mobile-menu-toggle {
    width: 38px !important;
    height: 38px !important;
  }

  .container,
  .section-container,
  .cs-container {
    width: min(100% - 24px, var(--container-width, 1200px)) !important;
  }
}

@media (max-width: 768px) {
  .c-hero {
    padding: calc(var(--nav-height, 72px) + 2.25rem) 0 3.5rem !important;
  }

  .c-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .c-hero-h1 {
    font-size: clamp(2.15rem, 10vw, 3rem) !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
  }

  .c-hero-sub {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
  }

  .c-hero-vis {
    height: auto !important;
    min-height: 310px !important;
    transform: none !important;
  }

  .vis-card {
    max-width: 88vw !important;
  }

  .kpi-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }

  .contact-grid,
  .outcome-grid,
  .ind-grid,
  .method-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .glass-form,
  .aside-contact,
  .benefit-block,
  .outcome-card,
  .topmate-strip {
    padding: 1.25rem !important;
    border-radius: 18px !important;
  }

  .final-cta {
    padding: 4rem 0 !important;
  }

  .final-h2 {
    font-size: clamp(1.9rem, 8vw, 2.35rem) !important;
    line-height: 1.12 !important;
  }

  .legal-hero {
    padding: calc(var(--nav-height, 72px) + 2.5rem) 0 3.5rem !important;
  }

  .legal-container,
  .legal-content {
    width: min(100% - 32px, 980px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .legal-title,
  .legal-hero h1 {
    font-size: clamp(2.1rem, 10vw, 2.8rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  .legal-subtitle,
  .legal-hero p {
    font-size: 0.96rem !important;
    line-height: 1.65 !important;
  }

  .legal-section {
    padding: 3rem 0 !important;
    overflow: hidden !important;
  }

  .legal-section-block {
    padding: 1.25rem !important;
    border-radius: 16px !important;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 420px) {
  .c-hero-h1 {
    font-size: clamp(2rem, 10vw, 2.55rem) !important;
  }

  .c-hero-vis {
    min-height: 280px !important;
  }

  .kpi-bar {
    grid-template-columns: 1fr !important;
  }

  .legal-container,
  .legal-content {
    width: min(100% - 24px, 980px) !important;
  }
}

/* ==========================================================================
   11. PRODUCTION RESPONSIVENESS & INTERACTION HARDENING
   Shared final pass for deployment-grade consistency.
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overscroll-behavior-x: none;
}

a,
button,
summary,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

img,
svg,
video,
canvas {
  height: auto;
}

:focus-visible {
  outline: 2px solid rgba(127, 99, 246, 0.72);
  outline-offset: 3px;
}

.nav a:focus-visible,
.nav button:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-cta:focus-visible,
.faq-question:focus-visible,
.tab-btn:focus-visible,
.step-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(127, 99, 246, 0.34) !important;
}

.container,
.section-container,
.cs-container,
.hero-content,
.hero-visual,
.card,
.service-card,
.comparison-card,
.diagnosis-card,
.transformation-panel,
.step-panel,
.faq-item,
.footer-nav-col {
  min-width: 0;
}

.hero-title,
.section-title,
.section-title-alt,
.cs-hero-title,
.training-hero-title,
.legal-title,
.c-hero-h1 {
  text-wrap: balance;
}

.section-description,
.section-lead,
.hero-description,
.hero-subtitle,
.faq-header-title p,
.story-text {
  text-wrap: pretty;
}

@media (min-width: 1440px) {
  .container,
  .section-container,
  .cs-container {
    max-width: min(var(--container-width, 1200px), calc(100vw - 96px));
  }
}

@media (max-width: 1280px) {
  .hero-title,
  .training-hero-title,
  .cs-hero-title,
  .c-hero-h1 {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .c-hero-inner,
  .contact-grid,
  .milestone-container,
  .ownership-proof-shell {
    min-width: 0;
  }

  .nav-dropdown-menu,
  .services-dropdown {
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 640px) {
  .hero-actions,
  .cta-actions,
  .final-cta-actions,
  .cao-hero-actions,
  .cao-cta-actions {
    width: 100%;
  }

  .hero-actions a,
  .cta-actions a,
  .final-cta-actions a,
  .btn-primary,
  .btn-secondary {
    white-space: normal;
  }

  .timeline-stepper,
  .transformation-tabs,
  .faq-container {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .section-header-rocket,
  .faq-header-title {
    margin-bottom: 2.25rem !important;
  }

  .mobile-menu {
    left: 8px;
    right: 8px;
  }

  .mobile-menu-panel {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}



/* Stable SVG icon system: replaces emoji/text icon rendering with CSS-masked SVGs. */
.pv-icon {
  --pv-icon-size: 1.25em;
  display: inline-flex;
  width: var(--pv-icon-size);
  height: var(--pv-icon-size);
  flex: 0 0 var(--pv-icon-size);
  align-items: center;
  justify-content: center;
  color: var(--accent-blue, #3b82f6);
  vertical-align: -0.18em;
}

.pv-icon::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: var(--pv-icon-url) center / contain no-repeat;
  mask: var(--pv-icon-url) center / contain no-repeat;
}

.problem-icon-v1,
.proof-card-icon,
.cs-card-icon,
.cs-impact-icon,
.cs-arch-icon-wrap,
.ind-icon,
.why-icon,
.p-shield,
.m-arch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.problem-icon-v1 .pv-icon,
.proof-card-icon .pv-icon {
  --pv-icon-size: clamp(44px, 5vw, 64px);
  color: #93c5fd;
  color: color-mix(in srgb, var(--accent-blue, #3b82f6) 72%, #ffffff);
  filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.24));
}

.bridge-arrow .pv-icon {
  --pv-icon-size: 30px;
}

.industry-icon,
.why-list-styled .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  color: var(--accent-blue, #3b82f6);
}

.industry-icon .pv-icon,
.why-list-styled .icon .pv-icon {
  --pv-icon-size: 1.1rem;
}

.cs-card-icon .pv-icon,
.cs-impact-icon .pv-icon,
.cs-arch-icon-wrap .pv-icon,
.m-arch-icon .pv-icon {
  --pv-icon-size: 30px;
}

.ind-icon .pv-icon,
.why-icon .pv-icon,
.p-shield .pv-icon {
  --pv-icon-size: 34px;
}

.service-heading-icon {
  --pv-icon-size: 0.95em;
  margin-right: 0.35em;
  color: var(--accent-blue, #3b82f6);
}

.service-card-icon {
  --pv-icon-size: 2rem;
  color: var(--accent-blue, #3b82f6);
}

.pv-status-icon {
  --pv-icon-size: 1.05rem;
}

.pv-status-icon.is-negative { color: #f87171; }
.pv-status-icon.is-positive { color: #10b981; }

.pv-icon-chart { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 16v-5'/%3E%3Cpath d='M12 16V7'/%3E%3Cpath d='M17 16v-8'/%3E%3C/svg%3E"); }
.pv-icon-clock { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.pv-icon-lock { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.pv-icon-arrow-right { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E"); }
.pv-icon-building { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V7l8-4 8 4v14'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3Cpath d='M8 9h.01M12 9h.01M16 9h.01M8 12h.01M16 12h.01'/%3E%3C/svg%3E"); }
.pv-icon-landmark { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M5 10V8l7-5 7 5v2'/%3E%3Cpath d='M6 10v8M10 10v8M14 10v8M18 10v8'/%3E%3Cpath d='M4 18h16M3 21h18'/%3E%3C/svg%3E"); }
.pv-icon-health { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.4-9-9a5 5 0 0 1 8-5 5 5 0 0 1 8 5c-2 4.6-9 9-9 9Z'/%3E%3Cpath d='M12 8v6M9 11h6'/%3E%3C/svg%3E"); }
.pv-icon-bolt { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 10-13h-7l1-7Z'/%3E%3C/svg%3E"); }
.pv-icon-finance { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7H14a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E"); }
.pv-icon-shield { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.pv-icon-plane { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='m22 2-7 20-4-9-9-4 20-7Z'/%3E%3C/svg%3E"); }
.pv-icon-office { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V5a2 2 0 0 1 2-2h7v18'/%3E%3Cpath d='M14 8h3a2 2 0 0 1 2 2v11'/%3E%3Cpath d='M8 7h2M8 11h2M8 15h2'/%3E%3C/svg%3E"); }
.pv-icon-insight { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M8 14a6 6 0 1 1 8 0c-1 1-1 2-1 4H9c0-2 0-3-1-4Z'/%3E%3C/svg%3E"); }
.pv-icon-message { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4Z'/%3E%3C/svg%3E"); }
.pv-icon-ban { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m5.7 5.7 12.6 12.6'/%3E%3C/svg%3E"); }
.pv-icon-wrench { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0 4.9 4.9L10 20.8a2.5 2.5 0 0 1-3.5-3.5l9.6-9.6Z'/%3E%3C/svg%3E"); }
.pv-icon-handshake { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11l3-3 4 4 3-3'/%3E%3Cpath d='M3 8l4 4'/%3E%3Cpath d='M21 8l-4 4'/%3E%3Cpath d='M8 16l2 2a3 3 0 0 0 4 0l2-2'/%3E%3C/svg%3E"); }
.pv-icon-target { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.pv-icon-trend-down { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 7 6 6 4-4 8 8'/%3E%3Cpath d='M21 10v7h-7'/%3E%3C/svg%3E"); }
.pv-icon-fast { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13a8 8 0 0 1 15-4'/%3E%3Cpath d='M14 4h5v5'/%3E%3Cpath d='M4 17h6'/%3E%3Cpath d='M4 21h10'/%3E%3C/svg%3E"); }
.pv-icon-trend-up { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 17 6-6 4 4 8-8'/%3E%3Cpath d='M14 7h7v7'/%3E%3C/svg%3E"); }
.pv-icon-eye { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.pv-icon-flag { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V4'/%3E%3Cpath d='M5 4h12l-2 5 2 5H5'/%3E%3C/svg%3E"); }
.pv-icon-calendar { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M8 2v4M16 2v4M3 10h18'/%3E%3C/svg%3E"); }
.pv-icon-calculator { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M8 6h8M8 10h.01M12 10h.01M16 10h.01M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01'/%3E%3C/svg%3E"); }
.pv-icon-star { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 3 7 7 .6-5.3 4.6 1.6 6.8L12 17.4 5.7 21l1.6-6.8L2 9.6 9 9l3-7Z'/%3E%3C/svg%3E"); }
.pv-icon-user { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.pv-icon-factory { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V9l6 4V9l6 4V5h6v16H3Z'/%3E%3Cpath d='M9 18h.01M13 18h.01M17 18h.01'/%3E%3C/svg%3E"); }
.pv-icon-mobile { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.pv-icon-puzzle { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3h5a2 2 0 0 0 4 0h3v6a2 2 0 0 1 0 4v8h-6a2 2 0 0 0-4 0H3v-6a2 2 0 0 0 0-4V3h5Z'/%3E%3C/svg%3E"); }
.pv-icon-check-circle { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }
.pv-icon-alert { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 2.2 18a2 2 0 0 0 1.7 3h16.2a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.pv-icon-clipboard { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l1 2h3v16H5V5h3l1-2Z'/%3E%3Cpath d='M9 11h6M9 15h4'/%3E%3C/svg%3E"); }
.pv-icon-database { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v6c0 1.7 3.6 3 8 3s8-1.3 8-3V5'/%3E%3Cpath d='M4 11v6c0 1.7 3.6 3 8 3s8-1.3 8-3v-6'/%3E%3C/svg%3E"); }
.pv-icon-settings { --pv-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1-2.8 2.8-.1-.1a1.7 1.7 0 0 0-1.9-.3 1.7 1.7 0 0 0-1 1.6V21h-4v-.1a1.7 1.7 0 0 0-1-1.6 1.7 1.7 0 0 0-1.9.3l-.1.1L4.2 17l.1-.1a1.7 1.7 0 0 0 .3-1.9 1.7 1.7 0 0 0-1.6-1H3v-4h.1a1.7 1.7 0 0 0 1.6-1 1.7 1.7 0 0 0-.3-1.9l-.1-.1L7 4.2l.1.1a1.7 1.7 0 0 0 1.9.3 1.7 1.7 0 0 0 1-1.6V3h4v.1a1.7 1.7 0 0 0 1 1.6 1.7 1.7 0 0 0 1.9-.3l.1-.1L19.8 7l-.1.1a1.7 1.7 0 0 0-.3 1.9 1.7 1.7 0 0 0 1.6 1h.1v4H21a1.7 1.7 0 0 0-1.6 1Z'/%3E%3C/svg%3E"); }

.trainer-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.16rem;
  color: var(--accent-blue, #3b82f6);
}

.trainer-rating-stars .pv-icon {
  --pv-icon-size: 12px;
}

/* Production footer alignment pass */
.footer-v3 .footer-nav-grid {
    display: grid !important;
    grid-template-columns: minmax(170px, 1.05fr) minmax(230px, 1.35fr) minmax(150px, 0.9fr) minmax(210px, 1.15fr) minmax(190px, 1.05fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    padding: 2.75rem 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer-v3 .footer-nav-col {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 168px !important;
    padding: 0 clamp(1.35rem, 2.2vw, 2.25rem) !important;
}

.footer-v3 .footer-nav-col:first-child {
    padding-left: 0 !important;
}

.footer-v3 .footer-nav-col:last-child {
    padding-right: 0 !important;
}

.footer-v3 .footer-nav-col:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 2.55rem !important;
    width: 1px !important;
    height: calc(100% - 3.25rem) !important;
    min-height: 116px !important;
    background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.24), transparent) !important;
}

.footer-v3 .footer-nav-col h4 {
    min-height: 1.2rem !important;
    margin: 0 0 1.45rem !important;
    padding: 0 !important;
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0.12em !important;
}

.footer-v3 .footer-nav-col ul,
.footer-v3 .footer-nav-col ul[style],
.footer-v3 .footer-case-list {
    display: grid !important;
    gap: 0.9rem 1.6rem !important;
    align-content: start !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-v3 .footer-case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.footer-v3 .footer-nav-col li {
    margin: 0 !important;
    white-space: normal !important;
}

.footer-v3 .footer-nav-col a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 1.35rem !important;
    line-height: 1.35 !important;
}

html[data-theme="light"] .footer-v3 .footer-nav-col:not(:last-child)::after,
body.light-theme .footer-v3 .footer-nav-col:not(:last-child)::after {
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.16), transparent) !important;
}

@media (max-width: 1180px) {
    .footer-v3 .footer-nav-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 !important;
    }

    .footer-v3 .footer-nav-col {
        min-height: auto !important;
        padding: 1.5rem 2rem !important;
        border-top: 1px solid var(--border) !important;
    }

    .footer-v3 .footer-nav-col:first-child,
    .footer-v3 .footer-nav-col:nth-child(2) {
        border-top: 0 !important;
    }

    .footer-v3 .footer-nav-col:nth-child(odd) {
        padding-left: 0 !important;
    }

    .footer-v3 .footer-nav-col:nth-child(even) {
        padding-right: 0 !important;
    }

    .footer-v3 .footer-nav-col::after {
        display: none !important;
    }
}

@media (max-width: 680px) {
    .footer-v3 .footer-nav-grid {
        grid-template-columns: 1fr !important;
        padding: 0.5rem 0 1.25rem !important;
    }

    .footer-v3 .footer-nav-col,
    .footer-v3 .footer-nav-col:first-child,
    .footer-v3 .footer-nav-col:nth-child(2),
    .footer-v3 .footer-nav-col:nth-child(odd),
    .footer-v3 .footer-nav-col:nth-child(even) {
        padding: 1.15rem 0 !important;
        border-top: 1px solid var(--border) !important;
    }

    .footer-v3 .footer-case-list {
        grid-template-columns: 1fr !important;
    }

    .footer-v3 .footer-nav-col h4 {
        margin-bottom: 0.75rem !important;
    }
}

.service-card {
    padding: var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Tech Overlay on Hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    opacity: 0.8;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: var(--space-3);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
}

.service-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.service-tagline {
    font-size: var(--font-size-base);
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-4);
    font-weight: 500;
}

.service-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.service-outcomes {
    margin-bottom: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    padding: var(--space-3);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.outcomes-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.outcomes-list {
    list-style: none;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.outcomes-list li {
    margin-bottom: var(--space-1);
    padding-left: var(--space-3);
    position: relative;
}

.outcomes-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.service-context {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    font-style: italic;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: 0.75rem;
}

.service-link::after {
    content: '\2192';
}

/* Services CTA */
.services-cta {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0.03;
    pointer-events: none;
}

.services-cta-text {
    font-size: var(--font-size-xl);
    font-weight: 500;
    margin-bottom: var(--space-2);
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.services-cta-subtext {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.7;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
    padding: var(--space-16) 0;
    position: relative;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    z-index: 0;
}

.process-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    font-size: var(--font-size-lg);
    font-weight: 600;
    background: var(--bg-primary);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-title {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.process-values {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.process-value {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
}

/* ========================================
   PROOF SECTION
   ======================================== */

.proof {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
    position: relative;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.proof-category {
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: transform var(--transition-base), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
}

.proof-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.proof-category:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
}

.proof-category:hover::before {
    transform: scaleX(1);
}

.proof-category-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.proof-category-clients {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.proof-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: var(--space-4);
    transition: gap var(--transition-base);
}

.proof-link:hover {
    gap: 0.75rem;
}

.proof-link::after {
    content: '→';
}

/* ========================================
   IMPACT SECTION
   ======================================== */

.impact {
    padding: var(--space-16) 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    max-width: 700px;
    margin-bottom: var(--space-6);
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.impact-item {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    padding-left: var(--space-3);
    position: relative;
}

.impact-item::before {
    content: '\25b8';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.impact-conclusion {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin-top: var(--space-6);
    font-weight: 500;
}

/* ========================================
   INDUSTRIES SECTION
   ======================================== */

.industries {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.industry-item {
    padding: var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: border-color var(--transition-base), background var(--transition-base);
}

.industry-item:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.05);
}

.industries-conclusion {
    text-align: center;
    margin-top: var(--space-8);
}

.industries-conclusion p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   WHY SECTION
   ======================================== */

.why {
    padding: var(--space-16) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    max-width: 900px;
}

.why-column {
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    position: relative;
}

.why-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 12px 0 0 12px;
}

.why-column-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.why-list {
    list-style: none;
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
}

.why-list li {
    margin-bottom: var(--space-2);
    padding-left: var(--space-3);
    position: relative;
}

.why-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.why-conclusion {
    margin-top: var(--space-8);
    text-align: center;
}

.why-conclusion p {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FINAL CTA
   ======================================== */

.final-cta {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.final-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    margin-left: auto;
    margin-right: auto;
}

.final-cta-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: var(--space-10) 0 var(--space-6);
    /* removed */
    border-top: none;
    background: var(--bg-primary);
}

.footer-content {
    text-align: center;
    margin-bottom: var(--space-6);
}

.footer-logo {
    margin-bottom: var(--space-3);
    opacity: 0.8;
}

.footer-tagline {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-6);
    /* removed */
    border-top: none;
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ========================================
   MODAL
   ======================================== */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: var(--space-8);
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: fadeInUp 0.3s ease-out;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: var(--font-size-3xl);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-base), transform var(--transition-base);
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .hero-visual {
        order: -1;
    }

    .services-grid,
    .proof-grid,
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-bundle {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: var(--space-5);
    }

    .services-bundle-copy {
        max-width: 100%;
    }

    .services-bundle-visual {
        width: min(100%, 560px);
    }

    .diagnosis-content,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .data-flow-visual {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: var(--space-2) auto;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .process-steps::before {
        display: none;
    }

    .trust-values {
        flex-direction: column;
        gap: var(--space-3);
    }
}


@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .proof-grid,
    .industries-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .services-bundle {
        gap: var(--space-4);
        padding: clamp(1.35rem, 6vw, 1.8rem);
        border-radius: 14px;
    }

    .services-bundle-title {
        font-size: clamp(1.65rem, 8vw, 2.15rem);
    }

    .services-bundle-description {
        font-size: 0.92rem;
        line-height: 1.68;
    }

    .services-bundle-link {
        width: 100%;
    }

    .architecture-visual-shell,
    .architecture-visual-map {
        min-height: 220px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .mockup-body {
        padding: var(--space-2);
    }
}


/* ========================================
   SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ========================================
   DESIGN SYSTEM - VERSION 3
   V2 Foundation + V1 Sections + New Visuals
   ======================================== */


/* Hero Section Styles */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    /* Large padding to create impact and clear fixed nav */
    padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-12);
}

/* Ensure content is above any background effects */
.hero .container {
    position: relative;
    z-index: 2;
}

/* V1 Stats Bar Styles - Compact Version */
.v1-stats-bar-wrapper {
    padding: var(--space-4) 0;
    /* Reduced height to support hero */
    /* Reduced padding */
    background: var(--bg-secondary);
    /* removed */
    border-top: none;
    /* removed */
    border-bottom: none;
    position: relative;
    z-index: 2;
}

.v1-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    /* Reduced gap */
}

.v1-stat-item {
    text-align: center;
}

.v1-stat-number {
    font-size: var(--font-size-xl);
    /* Reduced visual weight */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.v1-stat-label {
    font-size: var(--font-size-base);
    /* Increased from xs */
    color: var(--text-secondary);
    /* Increased contrast */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.v1-stat-divider {
    width: 1px;
    height: 32px;
    /* Reduced from 60px */
    background: var(--border-subtle);
}

/* Proof Section refresh (Card Based) */
.proof-grid-v3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.proof-card-v3 {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-8);
    /* Equalized padding */
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centering content inside card */
    text-align: center;
    /* Centering text inside card */
    width: 100%;
}

.proof-card-v3:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-card-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.proof-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.proof-card-clients {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.proof-card-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.proof-cta-align {
    text-align: center;
}

.highlight-blue {
    color: var(--accent-blue);
}

.service-explanation {
    font-size: var(--font-size-sm);
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: -0.5rem;
    margin-bottom: var(--space-4);
    font-style: italic;
    opacity: 0.9;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    animation: fadeInUp 0.8s ease-out;
}

/* Global Section Refinement */
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

/* Equalizing Proof Grid Spacing */
.proof-grid-v3 {
    justify-content: center;
}

/* Refined Footer V3 - Tightened & Structured */
.footer-v3 {
    background: var(--bg-secondary);
    padding: var(--space-10) 0 var(--space-8);
    /* removed */
    /* removed */
    border: none !important;
    position: relative;
    overflow: hidden;
}

/* Suble radial glow behind logo area */
.footer-v3::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.footer-main-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
    position: relative;
    z-index: 2;
}

.footer-brand-side {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex: 1;
}

.footer-logo-circular {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.25));
}

.footer-divider-vertical {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-story-side {
    flex: 1.5;
    max-width: 480px;
}

.footer-story-side .story-title {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-weight: 700;
    text-transform: none;
}

.footer-story-side .story-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-credibility {
    font-size: var(--font-size-xs);
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* 5-Column Nav Grid */
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-8);
    padding-top: var(--space-10);
    /* removed */
    /* removed */
    border: none !important;
    margin-bottom: var(--space-10);
    position: relative;
    z-index: 2;
}

.footer-nav-col h4 {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-weight: 800;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col li {
    margin-bottom: var(--space-2);
    white-space: nowrap;
}

.footer-nav-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-base);
}

.footer-nav-col a:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
    display: inline-block;
}

/* Founders Column */
.founders-column {
    display: flex;
    flex-direction: column;
}

.founder-info {
    margin-bottom: var(--space-3);
}

.founder-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 13px;
    display: block;
}

.founder-role {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

/* Footer Bottom Bar - Split Alignment */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright-left {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    opacity: 0.7;
}

.footer-motto-right {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--accent-blue);
}

.footer-motto-right p {
    margin: 0;
    letter-spacing: 0.01em;
}

/* Bridge Visual Styles */
.bridge-visual {
    margin-top: var(--space-10);
    padding: var(--space-10);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.bridge-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    margin-bottom: var(--space-6);
}

.chaos-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 120px;
    justify-content: center;
}

.chaos-icon {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.chaos-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.bridge-arrow {
    font-size: 2rem;
    color: var(--text-muted);
}

.clean-system {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.system-box,
.dashboard-box {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
}

.system-box.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid var(--border-blue-subtle);
}

.dashboard-box.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.bridge-caption {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: var(--space-4);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.bridge-conclusion {
    margin-top: var(--space-8);
    text-align: center;
}

.bridge-conclusion p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}

.bridge-conclusion .bold-highlight {
    color: var(--text-primary);
    font-weight: 700;
}

.bridge-link {
    display: inline-block;
    margin-top: var(--space-4);
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.bridge-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments for V3 */
@media (max-width: 1024px) {
    .v1-stats-bar {
        gap: var(--space-6);
    }

    .problem-grid-v1 {
        grid-template-columns: 1fr 1fr;
    }

    .impact-content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .proof-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main-block {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-8);
    }

    .footer-divider-vertical {
        display: none;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .v1-stats-bar {
        flex-direction: column;
        gap: var(--space-6);
    }

    .v1-stat-divider {
        display: none;
    }

    .problem-grid-v1 {
        grid-template-columns: 1fr;
    }

    .proof-grid-v3 {
        grid-template-columns: 1fr;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
        text-align: left;
    }
}

/* Impact Section Styles */
.impact {
    padding: var(--space-16) 0;
}

.impact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.impact-chart-visual {
    position: relative;
}

.impact-visual-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-8);
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}

.chart-box {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.chart-status {
    font-size: var(--font-size-xs);
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chart-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chart-bar-item {
    margin-bottom: var(--space-3);
}

.bar-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.bar-progress-bg {
    height: 10px;
    background: var(--bg-primary);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.bar-progress {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 5px;
    transition: width 1.5s ease-out;
}

.bar-value {
    text-align: right;
    font-size: var(--font-size-xs);
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 2px;
}

.chart-graphic {
    margin-top: var(--space-4);
    height: 80px;
    border-top: 1px dashed var(--border-subtle);
    padding-top: var(--space-4);
}

.fancy-wave {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.fancy-wave path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-in-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Problem Section V1 Restoration */
.problem-section-v1 {
    padding: var(--space-16) 0;
    background: var(--bg-primary);
    position: relative;
}

.section-header-v1 {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header-v1 h2,
.section-header-v1 .section-subtitle-v1 {
    margin-left: auto;
    margin-right: auto;
}

.section-badge-v1 {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 4px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.problem-grid-v1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.problem-card-v1 {
    background: var(--bg-card);
    padding: var(--space-8);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.problem-card-v1:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 15px 30px -10px rgba(239, 68, 68, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.problem-icon-v1 {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-4);
    display: block;
}

.problem-card-v1 h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-2);
}

.problem-quote-v1 {
    margin-top: var(--space-4);
    font-style: italic;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    border-left: 2px solid #ef4444;
    padding-left: var(--space-3);
}

.problem-cta-v1 {
    text-align: center;
    max-width: 600px;
    margin: var(--space-10) auto 0;
    padding: var(--space-6);
    /* removed */
    border-top: none;
}

.problem-cta-v1 p {
    font-size: var(--font-size-lg);
    margin-left: auto;
    margin-right: auto;
}

.problem-cta-sub-v1 {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: var(--font-size-base) !important;
}

/* Navigation Right Alignment Fix */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: var(--space-6);
    margin-left: auto;
    margin-right: var(--space-4);
}

/* Footer Case Studies Two-Column Layout */
.footer-case-studies .case-studies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.footer-case-studies .case-studies-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-case-studies .case-studies-grid li {
    margin-bottom: var(--space-2);
}

.footer-case-studies .case-studies-grid a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-base);
}

.footer-case-studies .case-studies-grid a:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
    display: inline-block;
}

/* Logo Marquee */
.logo-marquee-wrapper {
    overflow: hidden;
    padding: var(--space-8) 0;
    margin-top: var(--space-4);
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee {
    display: flex;
    overflow: hidden;
}

.logo-marquee-track {
    display: flex;
    gap: var(--space-12);
    animation: scroll 40s linear infinite;
    width: max-content;
}

.client-logo {
    height: 48px;
    width: 140px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   GAMIFIED ROADMAP (React.gg Style)
   ======================================== */
.roadmap-game {
    background-color: #050505;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: var(--space-16) 0;
    overflow: hidden;
    position: relative;
}

.roadmap-header {
    text-align: center;
    margin-bottom: var(--space-12);
    position: relative;
    z-index: 2;
}

.roadmap-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.roadmap-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-left: auto;
    margin-right: auto;
}

.game-board-wrapper {
    position: relative;
    width: 800px;
    height: 1400px;
    margin: 0 auto;
}

.game-path-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.6));
}

.track-segments {
    stroke-dasharray: 20 4;
    animation: trackFlow 20s linear infinite;
}

@keyframes trackFlow {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Game Steps - Absolute Positioning on Desktop */
.game-step {
    position: absolute;
    width: 280px;
    z-index: 10;
}

.step-marker {
    width: 40px;
    height: 40px;
    background: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    position: absolute;
    top: -20px;
    left: -20px;
    /* Offset to sit on line/corner */
    z-index: 12;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-card {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card:hover {
    transform: scale(1.05) rotate(1deg);
    border-color: #555;
    z-index: 15;
}

/* HEADINGS & COLORS */
.step-heading-pink {
    color: #FF00CC;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-heading-green {
    color: #00FF99;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-heading-yellow {
    color: #FFCC00;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-text {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* MINI UI ELEMENTS */
.step-mini-ui {
    background: #000;
    border-radius: 6px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ui-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.ui-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
}

.ui-dots span:nth-child(1) {
    background: #FF5f56;
}

.ui-dots span:nth-child(2) {
    background: #FFBD2E;
}

.ui-dots span:nth-child(3) {
    background: #27C93F;
}

.ui-line {
    height: 4px;
    background: #333;
    border-radius: 2px;
    width: 100%;
}

.ui-line.short {
    width: 60%;
}

.ui-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #000;
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
    width: fit-content;
}

.ui-progress {
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
}

.ui-bar {
    height: 100%;
    background: #FF00CC;
}

.ui-chart-mini {
    width: 100%;
    height: 20px;
    background: linear-gradient(to right,
            transparent 0%, transparent 20%,
            #FFCC00 20%, #FFCC00 40%,
            transparent 40%, transparent 60%,
            #00FF99 60%, #00FF99 80%,
            transparent 80%);
}

.ui-toggle {
    width: 30px;
    height: 16px;
    background: #333;
    border-radius: 10px;
    position: relative;
}

.ui-toggle.on {
    background: #00FF99;
}

.ui-toggle.on::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
}

/* RESPONSIVE FALLBACK */
@media (max-width: 900px) {
    .roadmap-game {
        height: auto;
        padding-bottom: var(--space-16);
    }

    .game-board-wrapper {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .game-path-svg {
        display: none;
        /* Hide SVG on mobile */
    }

    .game-step {
        position: relative;
        /* Stack normally */
        top: auto !important;
        left: auto !important;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .step-marker {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 10px;
        display: inline-flex;
    }

    .step-card {
        border-left: 4px solid #333;
    }

    .step-card:hover {
        transform: translateY(-2px);
    }
}


/* ========================================
   WHY SECTION - INTERACTIVE TABS (Glassmorphism)
   ======================================== */
.why-tabs-layout {
    display: flex;
    gap: var(--space-8);
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Sidebar Tabs */
.why-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: 280px;
    flex-shrink: 0;
}

.why-tab {
    background: transparent;
    border: none;
    text-align: left;
    padding: var(--space-6);
    color: var(--text-secondary);
    font-size: 1.125rem;
    cursor: pointer;
    border-radius: 12px 0 0 12px;
    position: relative;
    font-weight: 600;
    transition: all 0.3s;
    border-right: 2px solid transparent;
}

.why-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.why-tab.active {
    color: var(--text-primary);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
    border-right: 2px solid var(--accent-blue);
    /* Connect visually to panel */
}

.tab-glow {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--accent-blue);
    border-radius: 2px;
    box-shadow: 0 10px 20px -5px var(--accent-blue), inset 0 2px 3px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.why-tab.active .tab-glow {
    display: block;
}

/* Glass Display Panel */
.why-display-panel {
    flex-grow: 1;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--space-10);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    /* Ensure height stability */
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glow Borders logic */
.why-display-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.why-content-block {
    display: none;
    /* Hidden by default */
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-8);
    height: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.why-content-block.active {
    display: grid !important;
    /* Force grid when active */
    opacity: 1;
    transform: translateY(0);
}

/* Hide non-active blocks completely */
.why-content-block:not(.active) {
    display: none;
}

.why-panel-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.why-list-styled {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8) 0;
}

.why-list-styled li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-4);
    font-size: 1rem;
    color: var(--text-secondary);
}

.why-list-styled .icon {
    font-size: 1.2em;
}

.why-panel-cta {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.why-panel-cta:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4), inset 0 2px 3px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Visual Side - Abstract CSS Graphs */
.why-visual-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fancy background glow behind visual */
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.abstract-graph {
    width: 200px;
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    position: relative;
}

.graph-bar {
    width: 30px;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.2), rgba(0, 242, 255, 0.6));
    border-radius: 4px 4px 0 0;
    position: relative;
}

.graph-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(8px);
    opacity: 0.7;
}

.graph-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.graph-line-svg svg {
    overflow: visible;
    filter: drop-shadow(0 4px 10px rgba(0, 242, 255, 0.4));
}

.abstract-circle-viz {
    width: 140px;
    height: 140px;
    position: relative;
}

.pulse-circle {
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.5;
}

.pulse-circle.delay {
    animation-delay: 1s;
    border-color: var(--accent-blue);
}

@keyframes ping {

    75%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Enhanced Visual for 'Why Leaders Choose Us' */
.abstract-foundation-viz {
    width: 160px;
    height: 160px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.foundation-base {
    width: 120px;
    height: 12px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 4px;
    margin-top: auto;
    box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.2), inset 0 2px 3px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.foundation-pillar {
    width: 40px;
    height: 80px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.foundation-pillar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent-blue), transparent);
    opacity: 0.3;
    animation: scanPillar 3s ease-in-out infinite;
}

.foundation-core {
    width: 60px;
    height: 60px;
    background: var(--bg-elevated);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    margin-bottom: -10px;
}

.foundation-check {
    color: var(--accent-blue);
    font-size: 24px;
    font-weight: bold;
}

@keyframes scanPillar {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.abstract-metric-viz {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.metric-card-float {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: float 3s ease-in-out infinite;
}

.metric-card-float.small {
    font-size: 1.5rem;
    animation-delay: 1.5s;
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 900px) {
    .why-tabs-layout {
        flex-direction: column;
    }

    .why-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .why-tab {
        white-space: nowrap;
        border-radius: 8px;
        border-right: none;
        border-bottom: 2px solid transparent;
    }

    .why-tab.active {
        border-right: none;
        border-bottom: 2px solid var(--accent-blue);
    }

    .why-content-block {
        grid-template-columns: 1fr;
    }

    .why-visual-side {
        display: none;
        /* Hide visual on mobile to save space */
    }
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        justify-content: flex-start;
    }
}


/* Nav Logo - White Text Fix */
.nav-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

/* Footer Grid Layout with Vertical Dividers */
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav-col {
    padding: 0 2rem;
    position: relative;
}

/* Vertical dividers between footer columns */
.footer-nav-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-nav-col:first-child {
    padding-left: 0;
}

.footer-nav-col:last-child {
    padding-right: 0;
}

.footer-nav-col h4 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col ul li {
    margin-bottom: 0.75rem;
    white-space: nowrap;
}

.footer-nav-col ul li a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.3s;
    text-decoration: none;
}

.footer-nav-col ul li a:hover {
    color: var(--accent-blue);
}

.footer-main-block {
    margin-bottom: 3rem;
}

/* Responsive footer */
@media (max-width: 1200px) {
    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 0;
    }

    .footer-nav-col:nth-child(even)::after {
        display: none;
    }

    .footer-nav-col {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav-col::after {
        display: none;
    }

    .footer-nav-col {
        padding: 1.5rem 0;
        /* removed */
        /* removed */
        border: none !important;
    }

    .footer-nav-col:last-child {
        border-bottom: none;
    }
}

/* =============================================
   GLOBAL 3D DEPTH & SHADOW ENHANCEMENTS
   ============================================= */

/* --- Nav CTA Button --- */
.nav-cta {
    box-shadow: 0 4px 14px -3px rgba(255, 255, 255, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

/* --- Primary / Secondary buttons --- */
.btn-primary {
    position: relative;
    box-shadow: 0 10px 24px -6px rgba(59, 130, 246, 0.45),
        inset 0 2px 4px rgba(255, 255, 255, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px -6px rgba(59, 130, 246, 0.55),
        inset 0 2px 5px rgba(255, 255, 255, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    box-shadow: 0 4px 12px -3px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.3),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
}

/* --- Dashboard Mockup image --- */
.dashboard-mockup {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8),
        inset 0 1px 3px rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.dashboard-mockup:hover {
    transform: translateY(-6px) perspective(800px) rotateX(2deg);
    box-shadow: 0 40px 75px -20px rgba(0, 0, 0, 0.9),
        inset 0 2px 5px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* --- KPI cards inside dashboard --- */
.kpi-card {
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -8px rgba(59, 130, 246, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

/* --- Service cards --- */
.service-card {
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.03);
}

/* --- Proof / case study category cards --- */
.proof-category {
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.55),
        inset 0 1px 2px rgba(255, 255, 255, 0.07),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proof-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px -10px rgba(59, 130, 246, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(59, 130, 246, 0.15);
}

/* --- Process step numbers --- */
.step-number {
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* --- Stats / Why tabs --- */
.why-tab {
    box-shadow: 0 4px 12px -3px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-tab:hover,
.why-tab.active {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -5px rgba(59, 130, 246, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

/* --- Contact form --- */
.contact-card,
.contact-form-wrapper,
form[class*="contact"] {
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7),
        inset 0 2px 4px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    border-radius: 16px;
}

/* --- Graph bars 3D depth --- */
.graph-bar {
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25),
        0 8px 16px -5px rgba(0, 0, 0, 0.5);
    border-radius: 4px 4px 0 0;
}

/* --- Trust logos lift --- */
.trust-logo {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px -5px rgba(255, 255, 255, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* --- Testimonial / Glass panel cards --- */
.glass-panel {
    box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px -12px rgba(0, 210, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 210, 255, 0.12);
}

/* --- Hero header image depth --- */
.hero-visual img,
.hero-visual canvas,
.hero-visual svg {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7)) drop-shadow(0 4px 12px rgba(127, 99, 246, 0.2));
}

/* --- Scroll-to-top button --- */
.custom-scroll-top-btn {
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.6),
        inset 0 2px 3px rgba(255, 255, 255, 0.15);
}

.custom-scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.7),
        inset 0 2px 4px rgba(255, 255, 255, 0.25);
}

/* --- Modal --- */
.modal-content,
.service-modal-content {
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9),
        inset 0 1px 3px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* --- Services CTA block --- */
.services-cta {
    box-shadow: 0 20px 50px -12px rgba(59, 130, 246, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.07),
        0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* =============================================
   CONTACT PAGE — 3D DEPTH & SHADOW ENHANCEMENTS
   ============================================= */

/* --- Contact Hero Orb Depth --- */
.orb-left {
    filter: blur(80px) saturate(150%);
    box-shadow: 0 0 100px rgba(59, 130, 246, 0.2),
        0 0 40px rgba(139, 92, 246, 0.3);
}

/* --- Glass Form & Sidebar --- */
.glass-form {
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 12, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 50px 110px -20px rgba(0, 0, 0, 0.9),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* --- Form Fields (Inset Inner Depth) --- */
.f-input {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.f-input:focus {
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

/* --- Submit Button (Contact) --- */
.f-btn {
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.f-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 35px rgba(59, 130, 246, 0.5),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
}

.f-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4),
        inset 0 4px 6px rgba(0, 0, 0, 0.4);
}

/* --- Sidebar Bullet Icons --- */
.aside-bullet {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4),
        inset 0 2px 3px rgba(255, 255, 255, 0.2);
}

/* --- KPI Bars --- */
.kpi {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
    border-radius: 1rem;
    padding: 1rem;
}

.kpi:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px -10px rgba(59, 130, 246, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

/* --- Indicator Cards (Bottom Contact) --- */
.ind-card {
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.ind-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px -12px rgba(59, 130, 246, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

/* ── GLOBAL 3D ENHANCEMENTS ── */
.btn-primary,
.btn-secondary,
.nav-cta,
.nav-links a {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 40px -8px rgba(59, 130, 246, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.5) !important;
}

.dashboard-mockup,
.kpi-card,
.chart-container,
.diagnosis-text,
.diagnosis-conclusion,
.feature-card,
.proof-card,
.step-card,
.faq-item,
.trust-logo,
.value-text {
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7),
        inset 0 1px 1.5px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dashboard-mockup:hover,
.kpi-card:hover,
.chart-container:hover,
.diagnosis-text:hover,
.diagnosis-conclusion:hover,
.feature-card:hover,
.proof-card:hover,
.step-card:hover,
.faq-item:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85),
        inset 0 2.5px 4px rgba(255, 255, 255, 0.25),
        0 0 25px rgba(127, 99, 246, 0.12);
}

.nav {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0.5px rgba(255, 255, 255, 0.08) !important;
}

img:not(.nav-logo img) {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

img:not(.nav-logo img):hover {
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.5));
    transform: scale(1.025);
}

/* Homepage hero heading aligned to contact page typography */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-purple);
    border-radius: 2px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: #ffffff;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    display: block;
}

.hero-title .grad {
    background: linear-gradient(130deg, #ffffff 0%, #c4b5ff 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.55rem, 11vw, 3rem);
    }

    .hero-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.12em;
    }
}

/* =============================================
   HOMEPAGE - Light Theme Visual Refinements
   ============================================= */
html[data-theme="light"] .dashboard-mockup,
body.light-theme .dashboard-mockup {
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-theme="light"] .dashboard-mockup:hover,
body.light-theme .dashboard-mockup:hover {
    box-shadow:
        0 22px 46px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .mockup-header,
body.light-theme .mockup-header {
    background: rgba(241, 245, 249, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .mockup-title,
body.light-theme .mockup-title {
    color: #475569;
}

html[data-theme="light"] .scan-line,
body.light-theme .scan-line {
    background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.45), transparent);
    opacity: 0.45;
}

html[data-theme="light"] .kpi-card,
html[data-theme="light"] .chart-container,
body.light-theme .kpi-card,
body.light-theme .chart-container {
    background: #f1f5f9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .data-flow-visual,
body.light-theme .data-flow-visual {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .flow-label,
body.light-theme .flow-label {
    color: #475569;
}

html[data-theme="light"] .chaos-diagram .chaos-node,
body.light-theme .chaos-diagram .chaos-node {
    fill: #fff5f5;
    stroke: #fca5a5;
}

html[data-theme="light"] .chaos-diagram g[fill="#ef4444"],
body.light-theme .chaos-diagram g[fill="#ef4444"] {
    fill: #991b1b;
}

html[data-theme="light"] .chaos-diagram path[stroke="#ef4444"],
body.light-theme .chaos-diagram path[stroke="#ef4444"] {
    stroke: #fca5a5;
    opacity: 0.6;
}

html[data-theme="light"] .chaos-diagram circle[fill="#1a1a1a"][stroke="#ef4444"],
body.light-theme .chaos-diagram circle[fill="#1a1a1a"][stroke="#ef4444"] {
    fill: #fee2e2;
    stroke: #fca5a5;
}

html[data-theme="light"] .chaos-diagram text[fill="#ef4444"],
body.light-theme .chaos-diagram text[fill="#ef4444"] {
    fill: #991b1b;
}

html[data-theme="light"] .clean-diagram g[opacity="0.4"] rect,
body.light-theme .clean-diagram g[opacity="0.4"] rect {
    fill: #eff6ff;
    stroke: #93c5fd;
    opacity: 1;
}

html[data-theme="light"] .clean-diagram path[stroke="#3b82f6"],
body.light-theme .clean-diagram path[stroke="#3b82f6"] {
    stroke: #93c5fd;
}

html[data-theme="light"] .clean-diagram circle[fill="#0f172a"][stroke="#3b82f6"],
body.light-theme .clean-diagram circle[fill="#0f172a"][stroke="#3b82f6"] {
    fill: #dbeafe;
    stroke: #3b82f6;
    stroke-width: 2;
}

html[data-theme="light"] .clean-diagram text[fill="#60a5fa"],
body.light-theme .clean-diagram text[fill="#60a5fa"] {
    fill: #2563eb;
}

html[data-theme="light"] .clean-diagram circle[fill="none"][stroke="#3b82f6"],
body.light-theme .clean-diagram circle[fill="none"][stroke="#3b82f6"] {
    stroke: #93c5fd;
    opacity: 0.7;
}

html[data-theme="light"] .clean-diagram rect[fill="#064e3b"][stroke="#10b981"],
body.light-theme .clean-diagram rect[fill="#064e3b"][stroke="#10b981"] {
    fill: #eff6ff;
    stroke: #93c5fd;
}

html[data-theme="light"] .clean-diagram text[fill="#34d399"],
body.light-theme .clean-diagram text[fill="#34d399"] {
    fill: #2563eb;
}

html[data-theme="light"] .flow-arrow,
body.light-theme .flow-arrow {
    opacity: 0.85;
}

/* ========================================
   MOBILE EXPERIENCE OVERRIDES
   ======================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-8) !important;
    }

    .hero-content {
        order: 1 !important;
    }

    .hero-visual {
        order: 2 !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--nav-height) + 2.25rem) !important;
        padding-bottom: 3rem !important;
        min-height: auto !important;
    }

    .hero-grid {
        gap: 2rem !important;
        align-items: start !important;
    }

    .hero-content {
        max-width: 100% !important;
        text-align: left !important;
    }

    .hero-badge,
    .hero-subtitle {
        max-width: 100% !important;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.15rem) !important;
        line-height: 1.04 !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.55 !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-description {
        max-width: 100% !important;
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    .hero-actions {
        align-items: stretch !important;
        margin-top: 1.5rem !important;
    }

    .hero-visual {
        width: 100% !important;
        margin-top: 0 !important;
    }

    .dashboard-mockup {
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        border-radius: 18px !important;
    }

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

    .kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
    }

    .kpi-card {
        padding: 0.75rem !important;
        min-width: 0;
    }

    .kpi-value {
        font-size: 1.05rem !important;
    }

    .kpi-label {
        font-size: 0.68rem !important;
        line-height: 1.25 !important;
    }

    .problem-section-v1 {
        padding: 3.5rem 0 !important;
    }

    .section-header-v1 {
        margin-bottom: 2rem !important;
        text-align: left !important;
    }

    .section-header-v1 h2 {
        font-size: clamp(2rem, 9vw, 2.65rem) !important;
        line-height: 1.08 !important;
        max-width: 100% !important;
    }

    .section-header-v1 .section-subtitle-v1 {
        max-width: 100% !important;
        font-size: 0.98rem !important;
        line-height: 1.65 !important;
    }

    .problem-grid-v1 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .problem-card-v1 {
        padding: 1.25rem !important;
        border-radius: 14px !important;
    }

    .problem-card-v1:hover {
        transform: translateY(-3px) !important;
    }

    .problem-icon-v1 {
        font-size: 2rem !important;
        margin-bottom: 0.85rem !important;
    }

    .problem-card-v1 h3 {
        font-size: 1.08rem !important;
        line-height: 1.3 !important;
    }

    .problem-card-v1 p,
    .problem-quote-v1 {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }

    .problem-quote-v1 {
        margin-top: 0.9rem !important;
        padding-left: 0.8rem !important;
    }

    .problem-cta-v1 {
        max-width: 100% !important;
        margin-top: 1.5rem !important;
        padding: 1.25rem !important;
        text-align: left !important;
    }

    .problem-cta-v1 p {
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    .problem-cta-sub-v1 {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }

    .bridge-visual {
        margin-top: 2rem !important;
        padding: 1.25rem !important;
        border-radius: 16px !important;
    }

    .bridge-container {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .chaos-icons {
        width: 100% !important;
        max-width: 260px !important;
    }

    .bridge-arrow {
        transform: rotate(90deg);
        font-size: 1.45rem !important;
    }

    .clean-system {
        width: 100% !important;
        max-width: 260px !important;
    }

    .system-box,
    .dashboard-box {
        width: 100% !important;
        padding: 0.65rem 0.8rem !important;
    }

    .bridge-caption {
        margin-top: 1rem !important;
        font-size: 0.68rem !important;
        line-height: 1.45 !important;
    }

    .bridge-conclusion {
        margin-top: 1.5rem !important;
    }

    .bridge-conclusion p {
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    .impact-content-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .impact-text-card,
    .impact-visual-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.25rem !important;
        box-sizing: border-box !important;
    }

    .impact-visual-container {
        min-height: 0 !important;
        height: auto !important;
    }

    .chart-box,
    .chart-header,
    .chart-bars,
    .chart-bar-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .why-tabs-layout,
    .why-sidebar,
    .why-display-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .why-tabs-layout {
        gap: 1rem !important;
        overflow: hidden !important;
    }

    .why-sidebar {
        flex-direction: column !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .why-tab {
        width: 100% !important;
        white-space: normal !important;
        padding: 1rem !important;
        border-radius: 12px !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--border-subtle) !important;
    }

    .why-tab.active {
        border-bottom-color: var(--accent-blue) !important;
    }

    .why-display-panel {
        padding: 1.25rem !important;
        min-height: 0 !important;
    }

    .logo-marquee-wrapper,
    .logo-marquee {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        contain: size layout paint !important;
    }

    .logo-marquee-track {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1rem 1.25rem !important;
        animation: mobileLogoDrift 8s ease-in-out infinite alternate !important;
        overflow: hidden !important;
    }

    .client-logo {
        width: 86px !important;
        height: 38px !important;
        flex: 0 1 86px !important;
    }

    @keyframes mobileLogoDrift {
        from {
            opacity: 0.72;
            transform: translateY(0);
        }

        to {
            opacity: 1;
            transform: translateY(-4px);
        }
    }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: clamp(2rem, 10vw, 2.55rem) !important;
    }

    .kpi-grid {
        grid-template-columns: 1fr !important;
    }

    .chart-header {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
}
