/* ==========================================================================
   THE A&H DEVS - MASTER HIGH-END TECH DESIGN SYSTEM & STYLESHEET
   Aesthetic: Seamless Black & Electric Blue Tech Agency (Linear / Stripe / Vercel)
   Readability & Content Hierarchy: 100% WCAG AAA Compliant, Executive Polish
   Tech Stack: 100% Pure HTML5, CSS3, Vanilla JavaScript (Zero Frameworks)
   ========================================================================== */

/* --- 1. GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- 2. CSS VARIABLES & DESIGN TOKENS --- */
:root {
  /* Brand Palette */
  --color-primary: #3b82f6;         /* Electric Blue */
  --color-primary-hover: #2563eb;
  --color-primary-light: rgba(59, 130, 246, 0.12);
  --color-primary-glow: rgba(59, 130, 246, 0.35);

  --color-cyan: #38bdf8;            /* Cyber Cyan */
  --color-cyan-glow: rgba(56, 189, 248, 0.3);

  --color-purple: #8b5cf6;          /* Royal Indigo/Purple */
  --color-purple-glow: rgba(139, 92, 246, 0.3);

  --color-emerald: #10b981;         /* Growth Emerald */
  --color-emerald-glow: rgba(16, 185, 129, 0.3);

  --color-danger: #f43f5e;
  --color-warning: #f59e0b;

  /* Global Black & Electric Blue Surface Palette */
  --bg-deep-dark: #040711;          /* Pure Deepest Midnight */
  --bg-main: #060b19;               /* Master Body Canvas */
  --bg-surface: #0b1328;            /* Elevated Section Surface */
  --bg-alt: #0b1328;                /* Alternate Surface Alias */
  --bg-card: #0f1b36;               /* Elevated Card Surface */
  --bg-card-hover: #142347;         /* Card Hover Surface */
  --border-light: rgba(255, 255, 255, 0.1); /* Crisp Subtle Border */
  --border-hover: rgba(56, 189, 248, 0.45); /* Glowing Active Border */
  --border-focus: #38bdf8;

  /* High-Contrast Typography Colors */
  --text-main: #ffffff;             /* Pure White Headings */
  --text-muted: #cbd5e1;            /* Slate 300 - Crisp, Bright & Legible */
  --text-light: #94a3b8;            /* Slate 400 - Secondary Metadata */
  --text-accent: #38bdf8;           /* Cyber Accent Blue */

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.75);
  --shadow-xl: 0 24px 50px -10px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 35px var(--color-primary-glow);
  --shadow-glow-cyan: 0 0 35px var(--color-cyan-glow);

  /* Typography Tokens */
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Layout */
  --container-max: 1240px;
  --container-narrow: 920px;
  --header-height: 80px;
  --topbar-height: 38px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 3. RESET & BASE (SEAMLESS DARK THEME) --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-main);
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 #040711;
}

html[data-theme="light"],
body.theme-light {
  scrollbar-color: #3b82f6 #f1f5f9;
}

/* Webkit-based Browsers (Chrome, Edge, Safari, Opera) */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #040711;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #38bdf8);
  border-radius: 9999px;
  border: 2px solid #040711;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
  transition: all var(--transition-normal);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #60a5fa, #38bdf8);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
  border-color: #060b19;
}

::-webkit-scrollbar-corner {
  background: #040711;
}

/* Light Theme Scrollbar */
html[data-theme="light"] ::-webkit-scrollbar-track,
body.theme-light ::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-left: 1px solid rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] ::-webkit-scrollbar-thumb,
body.theme-light ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
  border: 2px solid #f1f5f9;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

html[data-theme="light"] ::-webkit-scrollbar-thumb:hover,
body.theme-light ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2563eb, #3b82f6);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.45);
}

/* --- TOP VIEWPORT SCROLL PROGRESS SLIDER (DESKTOP & MOBILE) --- */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, #3b82f6 0%, #38bdf8 50%, #8b5cf6 100%);
  z-index: 999999;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8), 0 0 20px rgba(59, 130, 246, 0.5);
  pointer-events: none;
}

body {
  font-family: var(--font-body);
  color: var(--text-muted);
  background-color: var(--bg-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 12px 20px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-to-content:focus {
  top: 20px;
}

/* --- 4. TYPOGRAPHY & GRADIENTS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; color: #ffffff; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); font-weight: 700; color: #ffffff; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: #ffffff; }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: #ffffff; }
h5 { font-size: 1.05rem; color: #ffffff; }
h6 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-accent); }

p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.72;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead-text {
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  color: var(--text-muted);
  line-height: 1.75;
}

.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- 5. UTILITY & CONTAINER CLASSES --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 85px 0;
  position: relative;
  background-color: var(--bg-main);
}

.section-sm {
  padding: 55px 0;
}

.section-dark {
  background-color: var(--bg-deep-dark);
}

.section-alt {
  background-color: var(--bg-surface);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-header {
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}
.section-header.text-center {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* --- 6. MODERN BADGES & PILLS --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.25);
  backdrop-filter: blur(8px);
}

.badge-glow {
  background: rgba(15, 27, 54, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #f1f5f9;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  position: relative;
  display: inline-block;
}

.radar-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-emerald);
  opacity: 0.75;
  animation: radarPulse 2s infinite ease-out;
}

@keyframes radarPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* --- 7. BUTTONS & MICRO-INTERACTIONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
  color: #ffffff;
}

.btn-glow {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.6);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--color-cyan);
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

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

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

/* Shimmer Light Reflection */
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.btn-shimmer:hover::after {
  left: 150%;
}

/* --- 8. CYBER GRID & AMBIENT MESH BACKGROUNDS (SEAMLESS NO WEIRD CIRCLES) --- */
.cyber-grid-bg {
  position: relative;
  background-color: var(--bg-deep-dark);
  background-image: 
    linear-gradient(to right, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  animation: floatBlob 12s infinite alternate ease-in-out;
}

.blob-blue {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
  top: -100px;
  right: -80px;
}

.blob-purple {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
  bottom: 50px;
  left: -100px;
  animation-delay: -5s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --- 9. TOPBAR & NAVIGATION --- */
.topbar {
  background-color: #03060d;
  color: #cbd5e1;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  fill: #38bdf8;
}

.topbar-item a:hover {
  color: #ffffff;
}

.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(6, 11, 25, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(6, 11, 25, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  height: 72px;
}

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

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

.header-logo-img {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .header-logo-img {
  transform: scale(1.02);
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.45));
}

.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.footer-logo-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.45));
}

.logo-symbol {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  font-family: var(--font-heading);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  letter-spacing: -0.04em;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.22rem;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

.chevron-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.nav-item:hover .chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown Mega Menu (2-Column Executive Glassmorphism) */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 620px;
  background: #070d1e;
  background: linear-gradient(145deg, #0b152d 0%, #050a17 100%);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.95), 0 0 35px rgba(56, 189, 248, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1010;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #0b152d;
  border-left: 1px solid rgba(56, 189, 248, 0.32);
  border-top: 1px solid rgba(56, 189, 248, 0.32);
}

.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-item.dropdown:hover .chevron-icon {
  transform: rotate(180deg);
  fill: var(--color-cyan);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.dropdown-item:hover .dropdown-item-icon {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
}

.dropdown-item-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-cyan);
  transition: fill var(--transition-fast);
}

.dropdown-item:hover .dropdown-item-icon svg {
  fill: #ffffff;
}

.dropdown-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  line-height: 1.25;
}

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

/* Light Theme Overrides for Dropdown */
html[data-theme="light"] .dropdown-menu,
body.theme-light .dropdown-menu {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .dropdown-menu::before,
body.theme-light .dropdown-menu::before {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .dropdown-item,
body.theme-light .dropdown-item {
  background: #f8fafc;
}

html[data-theme="light"] .dropdown-item:hover,
body.theme-light .dropdown-item:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.25);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1020;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: #060b19;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: 100px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: right var(--transition-normal);
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-link {
  color: #cbd5e1;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: #ffffff;
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}

.mobile-submenu.open {
  display: flex;
}

.mobile-submenu a {
  color: #94a3b8;
  font-size: 0.9rem;
  padding: 6px 0;
}

.mobile-submenu a:hover, .mobile-submenu a.active {
  color: #38bdf8;
}

/* --- 10. REALISTIC AGENCY HERO & DEVICE SHOWCASE --- */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-cyan);
}

.hero-title {
  font-size: clamp(2.35rem, 4.6vw, 3.65rem);
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-title .text-accent {
  color: var(--color-cyan);
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: #cbd5e1;
  line-height: 1.72;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Realistic Agency Device Mockup Showcase Frame */
.hero-mockup-frame {
  position: relative;
  border-radius: var(--radius-lg);
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-mockup-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px -14px rgba(0, 0, 0, 0.9), 0 0 25px rgba(59, 130, 246, 0.18);
}

.hero-mockup-topbar {
  background: #060a14;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-url-bar {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.74rem;
  color: #94a3b8;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-mockup-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(10, 16, 30, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.badge-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

/* --- 11. WHAT WE DO TRUST STRIP (SMOOTH SLIDE ACTION MARQUEE) --- */
.trust-strip {
  background-color: #060b17;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}

.trust-strip-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cyan);
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
}

.trust-strip-marquee {
  display: flex;
  overflow: hidden;
  position: relative;
  flex-grow: 1;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  user-select: none;
}

.trust-strip-items {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-shrink: 0;
  padding: 0 18px;
  animation: platformMarquee 26s linear infinite;
  will-change: transform;
}

.trust-strip-marquee:hover .trust-strip-items {
  animation-play-state: paused;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.trust-strip-item:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.trust-strip-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-cyan);
  flex-shrink: 0;
}

@keyframes platformMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* --- FEATURE BLOCKS (WHY CHOOSE US) --- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  margin-bottom: 20px;
}

.feature-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.feature-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* --- CONNECTED DIGITAL GROWTH MATRIX --- */
.growth-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.growth-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.growth-step-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.growth-step-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-cyan);
  margin-bottom: 12px;
}

.growth-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.growth-step-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* Enhanced Portfolio Image Cards & Spotlight System */
.project-card-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-card-image {
  transform: scale(1.04);
}

/* ==========================================================================
   FEATURED PORTFOLIO SPOTLIGHT SYSTEM (HOMEPAGE)
   ========================================================================== */
.portfolio-filter-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 36px;
  max-width: 800px;
}

.portfolio-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(56, 189, 248, 0.25));
  border-color: rgba(56, 189, 248, 0.6);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.portfolio-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 680px) {
  .portfolio-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

.spotlight-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75), rgba(8, 14, 28, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  position: relative;
}

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(56, 189, 248, 0.2);
}

.spotlight-thumb-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #0b1328;
}

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

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

.spotlight-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 19, 40, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--color-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 9999px;
  z-index: 2;
}

.spotlight-metric-chip {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(11, 19, 40, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.spotlight-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.spotlight-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.spotlight-tech-pill {
  font-size: 0.70rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spotlight-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.spotlight-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-cyan);
  transition: all var(--transition-fast);
}

.spotlight-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.spotlight-link:hover {
  color: #ffffff;
}

.spotlight-link:hover svg {
  transform: translateX(4px);
}

/* Light Mode Overrides for Spotlight */
html[data-theme="light"] .spotlight-card,
body.theme-light .spotlight-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

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

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

html[data-theme="light"] .spotlight-tech-pill,
body.theme-light .spotlight-tech-pill {
  background: #f1f5f9;
  color: #475569;
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .spotlight-category-badge,
body.theme-light .spotlight-category-badge {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.2);
  color: #2563eb;
}

html[data-theme="light"] .portfolio-filter-btn,
body.theme-light .portfolio-filter-btn {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  color: #64748b;
}

html[data-theme="light"] .portfolio-filter-btn:hover,
html[data-theme="light"] .portfolio-filter-btn.active,
body.theme-light .portfolio-filter-btn:hover,
body.theme-light .portfolio-filter-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* --- 12. BENTO GRID & HIGH-CONTRAST SERVICE CARDS --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

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

/* Elevated Dark Bento Card */
.bento-card, .service-card, .card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.bento-card:hover, .service-card:hover, .card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
}

.service-icon-box, .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #38bdf8;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.service-card:hover .service-icon-box,
.bento-card:hover .service-icon-box,
.card:hover .card-icon {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.service-icon-box svg, .card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-title, .card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffffff;
}

.service-desc, .card-text {
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-link, .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-accent);
  margin-top: auto;
}

.service-link svg, .card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg,
.bento-card:hover .service-link svg,
.card:hover .card-link svg {
  transform: translateX(5px);
}

/* --- 13. LIVE PERFORMANCE METRICS STATS --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* --- 14. CONNECTED PROCESS FLOW --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  position: relative;
  z-index: 2;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.process-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.process-step-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.process-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.process-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- 15. INDUSTRY MATRIX CARDS --- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.industry-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.industry-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.industry-card h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
}

/* --- 16. PORTFOLIO & CASE STUDY SUITE --- */
.featured-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  box-shadow: var(--shadow-lg);
  margin-bottom: 55px;
  transition: all var(--transition-normal);
}

.featured-project-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-xl);
}

.featured-project-media {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #080d1a;
  min-height: 380px;
}

.featured-project-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.featured-project-card:hover .featured-project-img {
  transform: scale(1.03);
}

.featured-project-content {
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 14px;
}

.featured-project-title {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.featured-project-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.featured-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.service-pill-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: #cbd5e1;
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #ffffff;
  border-color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

/* Portfolio Grid Cards */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-xl);
}

.portfolio-media-wrapper {
  position: relative;
  overflow: hidden;
  height: 230px;
  background: #080d1a;
  cursor: pointer;
}

.portfolio-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

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

.zoom-overlay-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6, 11, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

.portfolio-card:hover .zoom-overlay-badge {
  opacity: 1;
  transform: scale(1);
}

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

.portfolio-card-category {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 8px;
}

.portfolio-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.portfolio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.portfolio-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 17, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  animation: zoomLightbox 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomLightbox {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(6, 11, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--color-primary);
  transform: scale(1.1);
}

.lightbox-img-wrapper {
  max-height: 70vh;
  overflow: hidden;
  background: #040813;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  padding: 20px 28px;
  background: #080e1c;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-category {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cyan);
  display: block;
  margin-bottom: 4px;
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* --- 17. PRICING & FAQ ACCORDION --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 15px 40px -10px rgba(37, 99, 235, 0.35);
  transform: scale(1.03);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #ffffff;
  margin: 18px 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  flex-grow: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  fill: var(--color-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   TESTIMONIALS COMPONENT SUITE
   ========================================================================== */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.75), 0 0 25px rgba(56, 189, 248, 0.15);
}

.testimonial-quote-icon {
  margin-bottom: 20px;
  color: var(--color-cyan);
  opacity: 0.85;
  display: flex;
  align-items: center;
}

.testimonial-quote-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(56, 189, 248, 0.16));
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-cyan);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-client {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.3;
}

.testimonial-service {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-cyan);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: #94a3b8;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  fill: var(--color-cyan);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 26px 22px;
}

/* --- 18. FORMS & INPUTS --- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.form-label .required {
  color: var(--color-danger);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background-color: #070c1a;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

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

.form-error {
  font-size: 0.8rem;
  color: var(--color-danger);
  margin-top: 4px;
  display: none;
}

.form-group.has-error .form-control {
  border-color: var(--color-danger);
  background-color: rgba(244, 63, 94, 0.08);
}

.form-group.has-error .form-error {
  display: block;
}

.form-success-banner {
  display: none;
  padding: 20px;
  border-radius: var(--radius-md);
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid #10b981;
  color: #34d399;
  margin-top: 20px;
  text-align: center;
}

.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.chip-label {
  position: relative;
  cursor: pointer;
}

.chip-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.chip-text {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.chip-label input:checked + .chip-text {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

/* --- 19. CTA BANNER --- */
.cta-banner {
  background: radial-gradient(circle at 50% 0%, #172554 0%, #040813 75%);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 34px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- 20. FLOATING WHATSAPP & BACK TO TOP --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background-color: #0b1328;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.back-to-top:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- 21. FOOTER --- */
.footer {
  background-color: #03060d;
  color: #94a3b8;
  padding: 85px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: #38bdf8;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.social-icon-link:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-icon-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* --- 22. LEGAL CONTENT --- */
.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 45px;
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
  color: #ffffff;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p, .legal-content ul {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
}

/* --- 23. TOAST NOTIFICATION --- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  min-width: 280px;
  max-width: 380px;
  background: #0f1b36;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}

.toast.success { border-left-color: var(--color-emerald); }
.toast.error { border-left-color: var(--color-danger); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- 24. SCROLL REVEAL ANIMATIONS & STAGGER CASCADE --- */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.in-view,
.reveal-up.in-view,
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-scale.in-view {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger Delays (1 by 1 cascade on scroll) */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* Grid Auto-Stagger Cascade */
.grid-2 > *:nth-child(1), .grid-3 > *:nth-child(1), .grid-4 > *:nth-child(1), .stats-grid > *:nth-child(1), .coding-grid > *:nth-child(1), .platform-grid > *:nth-child(1), .process-grid > *:nth-child(1), .industry-grid > *:nth-child(1) { transition-delay: 0.06s; }
.grid-2 > *:nth-child(2), .grid-3 > *:nth-child(2), .grid-4 > *:nth-child(2), .stats-grid > *:nth-child(2), .coding-grid > *:nth-child(2), .platform-grid > *:nth-child(2), .process-grid > *:nth-child(2), .industry-grid > *:nth-child(2) { transition-delay: 0.16s; }
.grid-3 > *:nth-child(3), .grid-4 > *:nth-child(3), .stats-grid > *:nth-child(3), .coding-grid > *:nth-child(3), .platform-grid > *:nth-child(3), .process-grid > *:nth-child(3), .industry-grid > *:nth-child(3) { transition-delay: 0.26s; }
.grid-4 > *:nth-child(4), .stats-grid > *:nth-child(4), .coding-grid > *:nth-child(4), .platform-grid > *:nth-child(4), .process-grid > *:nth-child(4), .industry-grid > *:nth-child(4) { transition-delay: 0.36s; }
.platform-grid > *:nth-child(5), .process-grid > *:nth-child(5), .industry-grid > *:nth-child(5) { transition-delay: 0.46s; }
.platform-grid > *:nth-child(6), .industry-grid > *:nth-child(6) { transition-delay: 0.56s; }
.platform-grid > *:nth-child(7), .industry-grid > *:nth-child(7) { transition-delay: 0.66s; }
.platform-grid > *:nth-child(8), .industry-grid > *:nth-child(8) { transition-delay: 0.76s; }
.industry-grid > *:nth-child(9) { transition-delay: 0.86s; }

/* --- 24B. UI BASED NUMBER BOXES & BENCHMARK CARDS (OPTICAL ILLUSION & COLORFUL UI) --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-box-card {
  background: #080e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 30px 24px 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* Optical Illusion Ambient Backlight & Holographic Glow */
.stat-box-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--stat-glow-color, #38bdf8);
  opacity: 0.9;
  transition: height 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.stat-box-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--stat-ambient, rgba(56, 189, 248, 0.18)) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 0;
}

.stat-box-card:hover {
  transform: translateY(-8px);
  border-color: var(--stat-border, rgba(56, 189, 248, 0.5));
  box-shadow: 0 20px 45px -10px var(--stat-shadow, rgba(37, 99, 235, 0.35)), 0 0 25px var(--stat-ambient, rgba(56, 189, 248, 0.2));
}

.stat-box-card:hover::before {
  height: 5px;
  opacity: 1;
}

.stat-box-card:hover::after {
  opacity: 1;
  transform: scale(1.3);
}

/* Background Optical Illusion Matrix Layer */
.stat-illusion-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.38;
  transition: opacity 0.4s ease;
}

.stat-box-card:hover .stat-illusion-canvas {
  opacity: 0.75;
}

/* Card Specific Themes & Vibrant Multi-Stop Gradients */
.stat-card-blue {
  --stat-glow-color: linear-gradient(90deg, #00f2fe, #4facfe, #2563eb);
  --stat-border: rgba(56, 189, 248, 0.5);
  --stat-ambient: rgba(56, 189, 248, 0.25);
  --stat-shadow: rgba(37, 99, 235, 0.4);
}

.stat-card-green {
  --stat-glow-color: linear-gradient(90deg, #10b981, #34d399, #059669);
  --stat-border: rgba(52, 211, 153, 0.5);
  --stat-ambient: rgba(16, 185, 129, 0.25);
  --stat-shadow: rgba(16, 185, 129, 0.4);
}

.stat-card-purple {
  --stat-glow-color: linear-gradient(90deg, #c084fc, #ec4899, #7c3aed);
  --stat-border: rgba(192, 132, 252, 0.5);
  --stat-ambient: rgba(168, 85, 247, 0.25);
  --stat-shadow: rgba(124, 58, 237, 0.4);
}

.stat-card-amber {
  --stat-glow-color: linear-gradient(90deg, #fbbf24, #f97316, #ef4444);
  --stat-border: rgba(251, 191, 36, 0.5);
  --stat-ambient: rgba(245, 158, 11, 0.25);
  --stat-shadow: rgba(234, 88, 12, 0.4);
}

/* Colorful Icon Boxes with Multi-Color Depth */
.stat-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.stat-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.stat-box-card:hover .stat-box-icon {
  transform: scale(1.1) translateY(-2px);
}

.stat-icon-blue {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(37, 99, 235, 0.35) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.3);
}

.stat-icon-green {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(16, 185, 129, 0.35) 100%);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34d399;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.3);
}

.stat-icon-purple {
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.2) 0%, rgba(124, 58, 237, 0.35) 100%);
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: #c084fc;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.3);
}

.stat-icon-amber {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(234, 88, 12, 0.35) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3);
}

.stat-box-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* Colorful Badges */
.stat-box-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tag-blue {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.tag-green {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-purple {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.tag-amber {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Numbers with Colorful Glowing Gradient Text */
.stat-box-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 2;
}

.stat-value-blue {
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 70%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.3));
}

.stat-value-green {
  background: linear-gradient(135deg, #ffffff 20%, #34d399 70%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(16, 185, 129, 0.3));
}

.stat-value-purple {
  background: linear-gradient(135deg, #ffffff 20%, #c084fc 70%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(192, 132, 252, 0.3));
}

.stat-value-amber {
  background: linear-gradient(135deg, #ffffff 20%, #fbbf24 70%, #ea580c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.3));
}

.stat-box-label {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.stat-box-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

/* Illusion Micro-UI Widgets Inside Each Card */
.stat-widget-box {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

/* 1. Speed Oscilloscope Waveform */
.speed-waveform-svg {
  width: 100%;
  height: 36px;
  display: block;
}

.speed-wave-path {
  fill: none;
  stroke: url(#speedWaveGrad);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 0;
  animation: waveDash 3s linear infinite;
}

@keyframes waveDash {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

/* 2. Responsive Breakpoint Wireframe Illusion */
.responsive-pills-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.device-chip {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.device-chip.active {
  background: rgba(16, 185, 129, 0.25);
  border-color: #34d399;
}

/* 3. Server Cluster Activity Mesh */
.server-cluster-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.server-node {
  height: 18px;
  flex: 1;
  background: rgba(192, 132, 252, 0.2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.server-node::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #10b981;
  opacity: 0.85;
}

.server-node.node-pulse::after {
  animation: serverPulse 1.8s ease-in-out infinite alternate;
}

@keyframes serverPulse {
  0% { opacity: 0.4; }
  100% { opacity: 1; filter: drop-shadow(0 0 4px #10b981); }
}

/* 4. Radar Rotating Sweep Illusion */
.radar-sweep-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #fbbf24;
}

.radar-live-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.radar-sweep-cone {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(251, 191, 36, 0.4);
  position: relative;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
}

.radar-sweep-cone::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: conic-gradient(from 0deg, rgba(251, 191, 36, 0.8) 0deg, transparent 90deg);
  border-radius: 50%;
  transform-origin: 0 0;
  animation: radarRotate 2.5s linear infinite;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Mobile responsive for stats */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stat-box-card {
    padding: 24px 18px;
  }
}

/* --- 24C. CODING / TECH ARCHITECTURE ANIMATED CARDS --- */
.coding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.code-card {
  background: #080e1e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  position: relative;
}

.code-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.35);
}

.code-card-topbar {
  background: #050914;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-card-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.code-card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-card-dots span.dot-red { background: #ef4444; }
.code-card-dots span.dot-yellow { background: #f59e0b; }
.code-card-dots span.dot-green { background: #10b981; }

.code-card-filename {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
}

.code-card-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-emerald);
  font-weight: 600;
}

.code-card-body {
  padding: 20px 22px;
  background: #080d1c;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.7;
  overflow-x: auto;
  flex-grow: 1;
}

.code-line {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.code-num {
  color: #475569;
  user-select: none;
  width: 20px;
  text-align: right;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.code-content {
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Syntax Highlighting Tokens */
.token-kw { color: #c084fc; font-weight: 600; }     /* purple */
.token-tag { color: #60a5fa; font-weight: 600; }    /* blue */
.token-attr { color: #38bdf8; }                     /* cyan */
.token-str { color: #34d399; }                      /* emerald green */
.token-fn { color: #fbbf24; }                       /* amber yellow */
.token-comment { color: #64748b; font-style: italic; } /* slate */

.code-card-footer {
  padding: 16px 20px;
  background: #060b17;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-card-feature {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.code-card-benefit {
  font-size: 0.8rem;
  color: var(--color-cyan);
  font-weight: 600;
}

/* ==========================================================================
   25. MASTER RESPONSIVE BREAKPOINTS & MOBILE POLISH (TOP CLASS UI/UX)
   ========================================================================== */

/* --- TABLET BREAKPOINT (1024px and below) --- */
@media (max-width: 1024px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: flex;
  }
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .grid-2, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .growth-matrix {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .coding-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .featured-project-card {
    grid-template-columns: 1fr;
  }
  .featured-project-media {
    min-height: 300px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* --- MOBILE TABLET / LARGE PHONE BREAKPOINT (768px and below) --- */
@media (max-width: 768px) {
  /* Core Layout Gutters */
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding: 60px 0;
  }

  .section-sm {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  /* Manageable Typography for Mobile */
  h1, .hero-title {
    font-size: clamp(1.85rem, 6.8vw, 2.35rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.025em;
  }

  h2, .section-title {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em;
  }

  h3, .service-title, .featured-project-title {
    font-size: 1.18rem !important;
    line-height: 1.32;
  }

  h4, .growth-step-title {
    font-size: 1.05rem !important;
  }

  p, .lead-text, .section-desc {
    font-size: 0.94rem !important;
    line-height: 1.64 !important;
  }

  .eyebrow-badge, .badge {
    font-size: 0.74rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  /* Header & Logo */
  .header {
    height: 68px;
  }
  .header-logo-img {
    height: 38px;
    max-width: 200px;
  }
  .footer-logo-img {
    height: 42px;
    max-width: 220px;
  }
  .topbar {
    display: none;
  }

  /* Mobile Navigation Drawer */
  .mobile-nav {
    width: 86%;
    max-width: 340px;
    background: rgba(6, 11, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(56, 189, 248, 0.2);
    padding: 85px 20px 30px;
  }

  .mobile-nav-link {
    font-size: 0.98rem;
    padding: 11px 0;
  }

  /* What We Do Trust Strip (Mobile Slide Action) */
  .trust-strip {
    padding: 16px 0;
  }
  .trust-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .trust-strip-label {
    border-right: none;
    padding-right: 0;
    font-size: 0.74rem;
  }
  .trust-strip-marquee {
    width: 100%;
  }
  .trust-strip-items {
    gap: 26px;
    padding: 0 10px;
    animation-duration: 20s;
  }
  .trust-strip-item {
    font-size: 0.85rem;
  }

  /* All Multi-Column Grids Become 1 Column on Mobile */
  .grid-2, .grid-3, .grid-4, .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Bento Cards, Service Cards & Feature Cards Polish */
  .bento-card, .service-card, .feature-card, .growth-step-card, .case-study-card {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .service-icon-box, .feature-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    margin-bottom: 16px;
  }
  .service-icon-box svg, .feature-icon-box svg {
    width: 20px;
    height: 20px;
  }

  .service-desc, .feature-desc, .card-text {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  /* UI Number Boxes on Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .stat-box-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .stat-box-header {
    margin-bottom: 14px;
  }
  .stat-box-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .stat-box-icon svg {
    width: 18px;
    height: 18px;
  }
  .stat-box-tag {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
  .stat-box-value {
    font-size: clamp(1.85rem, 5.5vw, 2.4rem);
    margin-bottom: 8px;
  }
  .stat-box-label {
    font-size: 0.94rem;
    margin-bottom: 6px;
  }
  .stat-box-desc {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  /* Coding Cards on Mobile */
  .coding-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .code-card {
    border-radius: var(--radius-md);
  }
  .code-card-topbar {
    padding: 10px 14px;
  }
  .code-card-filename {
    font-size: 0.72rem;
  }
  .code-card-status {
    font-size: 0.68rem;
  }
  .code-card-body {
    padding: 16px 14px;
    font-size: 0.78rem;
    line-height: 1.65;
  }
  .code-line {
    gap: 10px;
  }
  .code-num {
    width: 16px;
    font-size: 0.72rem;
  }
  .code-card-footer {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .code-card-feature {
    font-size: 0.84rem;
  }
  .code-card-benefit {
    font-size: 0.76rem;
  }

  /* Connected Process Flow on Mobile */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-card {
    padding: 22px 18px;
  }

  /* Industry Matrix on Mobile */
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .industry-card {
    padding: 18px 12px;
    gap: 8px;
  }
  .industry-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  .industry-icon svg {
    width: 18px;
    height: 18px;
  }
  .industry-card h4 {
    font-size: 0.88rem;
  }

  /* Portfolio Page Filter Tabs on Mobile */
  .portfolio-filters {
    gap: 6px;
    justify-content: center;
    margin-bottom: 30px;
  }
  .filter-btn {
    padding: 7px 14px;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
  }

  /* Featured Project Card on Mobile */
  .featured-project-media {
    min-height: 220px;
  }
  .featured-project-content {
    padding: 24px 18px;
  }
  .featured-project-desc {
    font-size: 0.92rem;
    line-height: 1.62;
    margin-bottom: 18px;
  }
  .featured-services-list {
    gap: 6px;
    margin-bottom: 22px;
  }
  .service-pill-tag {
    font-size: 0.72rem;
    padding: 3px 10px;
  }

  /* Case Studies Detail on Mobile */
  .case-study-card {
    padding: 24px 18px;
    margin-bottom: 32px !important;
  }
  .case-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
  }
  .case-header h2 {
    font-size: 1.4rem !important;
  }
  .case-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 18px;
  }
  .case-detail-block {
    padding: 16px;
  }
  .case-detail-block h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  .case-detail-block p {
    font-size: 0.88rem;
    line-height: 1.58;
  }
  .case-results-box {
    padding: 18px 16px;
  }

  /* Lightbox on Mobile */
  .lightbox-modal {
    padding: 16px 12px;
  }
  .lightbox-close {
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  .lightbox-caption {
    padding: 14px 18px;
  }
  .lightbox-title {
    font-size: 1.05rem;
  }

  /* Forms on Mobile */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .form-input, .form-textarea, .form-select {
    padding: 12px 14px;
    font-size: 0.94rem;
  }

  /* Footer on Mobile */
  .footer {
    padding: 60px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }
  .footer-bottom {
    padding-top: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* CTA Banner on Mobile */
  .cta-banner {
    padding: 40px 18px;
    border-radius: var(--radius-md);
  }
  .cta-title {
    font-size: clamp(1.4rem, 5.2vw, 1.8rem);
    margin-bottom: 12px;
  }
  .cta-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Floating Action Buttons */
  .whatsapp-float {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    bottom: 16px;
    right: 16px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.45);
  }
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    left: max(16px, env(safe-area-inset-left, 16px));
    z-index: 999;
    background-color: rgba(11, 19, 40, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 10px rgba(56, 189, 248, 0.2);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .back-to-top:active {
    transform: scale(0.92);
    background-color: var(--color-primary);
    color: #ffffff;
  }

  /* Snappy Mobile Scroll Animations (Zero Jank) */
  .reveal, .reveal-up {
    transform: translateY(18px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-left {
    transform: translateX(-18px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-right {
    transform: translateX(18px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.in-view, .reveal-up.in-view, .reveal-left.in-view, .reveal-right.in-view {
    transform: translate3d(0, 0, 0);
  }
}

/* --- SMALL MOBILE SCREENS (480px and below) --- */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .legal-content {
    padding: 20px 16px;
  }

  .breadcrumbs {
    font-size: 0.78rem;
    gap: 6px;
  }
}

/* --- ULTRA-COMPACT SCREENS (340px and below) --- */
@media (max-width: 340px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .filter-btn {
    font-size: 0.72rem;
    padding: 6px 10px;
  }
  .header-logo-img {
    max-width: 170px;
  }
}


/* ==========================================================================
   26. REAL-WORLD PLATFORM & TECHNOLOGY ECOSYSTEMS (AUTHENTIC SVGs & BRAND GLOWS)
   ========================================================================== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-accent, var(--color-primary));
  opacity: 0.85;
  transition: height var(--transition-fast), opacity var(--transition-fast);
}

.platform-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--brand-border, rgba(56, 189, 248, 0.4));
  box-shadow: 0 16px 36px -8px var(--brand-shadow, rgba(37, 99, 235, 0.25)), var(--shadow-xl);
}

.platform-card:hover::before {
  height: 4px;
  opacity: 1;
}

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

.platform-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.platform-card:hover .platform-icon-box {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.09);
}

.platform-icon-box svg {
  width: 28px;
  height: 28px;
  display: block;
}

.platform-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.platform-capability {
  font-size: 0.8rem;
  color: var(--color-cyan);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.platform-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Specific Brand Accents */
.brand-google { --brand-accent: #4285f4; --brand-border: rgba(66, 133, 244, 0.4); --brand-shadow: rgba(66, 133, 244, 0.25); }
.brand-apple { --brand-accent: #a2aaad; --brand-border: rgba(255, 255, 255, 0.4); --brand-shadow: rgba(255, 255, 255, 0.15); }
.brand-android { --brand-accent: #3ddc84; --brand-border: rgba(61, 220, 132, 0.4); --brand-shadow: rgba(61, 220, 132, 0.25); }
.brand-shopify { --brand-accent: #95bf47; --brand-border: rgba(149, 191, 71, 0.4); --brand-shadow: rgba(149, 191, 71, 0.25); }
.brand-wordpress { --brand-accent: #21759b; --brand-border: rgba(33, 117, 155, 0.4); --brand-shadow: rgba(33, 117, 155, 0.25); }
.brand-aws { --brand-accent: #ff9900; --brand-border: rgba(255, 153, 0, 0.4); --brand-shadow: rgba(255, 153, 0, 0.25); }
.brand-stripe { --brand-accent: #635bff; --brand-border: rgba(99, 91, 255, 0.4); --brand-shadow: rgba(99, 91, 255, 0.25); }
.brand-meta { --brand-accent: #0081fb; --brand-border: rgba(0, 129, 251, 0.4); --brand-shadow: rgba(0, 129, 251, 0.25); }
.brand-cloudflare { --brand-accent: #f38020; --brand-border: rgba(243, 128, 32, 0.4); --brand-shadow: rgba(243, 128, 32, 0.25); }
.brand-react { --brand-accent: #61dafb; --brand-border: rgba(97, 218, 251, 0.4); --brand-shadow: rgba(97, 218, 251, 0.25); }
.brand-figma { --brand-accent: #f24e1e; --brand-border: rgba(242, 78, 30, 0.4); --brand-shadow: rgba(242, 78, 30, 0.25); }
.brand-hubspot { --brand-accent: #ff7a59; --brand-border: rgba(255, 122, 89, 0.4); --brand-shadow: rgba(255, 122, 89, 0.25); }

/* Trust Strip Brand Logos */
.trust-strip-item svg.brand-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

@media (max-width: 640px) {
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .platform-card {
    padding: 22px 18px;
  }
}


/* ==========================================================================
   27. GLOBAL CARDS SUITE — OPTICAL ILLUSION DEPTH & COLORFUL UI / UX
   ========================================================================== */

/* --- 1. ELEVATED BENTO & SERVICE CARDS WITH OPTICAL MESH --- */
.bento-card, .service-card {
  background: #080e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  z-index: 1;
}

/* Optical Illusion Ambient Backlight & Top Glowing Beam */
.bento-card::before, .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent-grad, linear-gradient(90deg, #38bdf8, #2563eb));
  opacity: 0.85;
  transition: height 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.bento-card::after, .service-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-ambient, rgba(56, 189, 248, 0.2)) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 0;
}

.bento-card:hover, .service-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-border, rgba(56, 189, 248, 0.5));
  box-shadow: 0 22px 50px -10px var(--card-shadow, rgba(37, 99, 235, 0.35)), 0 0 25px var(--card-ambient, rgba(56, 189, 248, 0.2));
}

.bento-card:hover::before, .service-card:hover::before {
  height: 5px;
  opacity: 1;
}

.bento-card:hover::after, .service-card:hover::after {
  opacity: 1;
  transform: scale(1.4);
}

/* Service Card Color Themes */
.card-theme-blue {
  --card-accent-grad: linear-gradient(90deg, #00f2fe, #38bdf8, #2563eb);
  --card-border: rgba(56, 189, 248, 0.5);
  --card-ambient: rgba(56, 189, 248, 0.25);
  --card-shadow: rgba(37, 99, 235, 0.4);
}

.card-theme-green {
  --card-accent-grad: linear-gradient(90deg, #34d399, #10b981, #059669);
  --card-border: rgba(52, 211, 153, 0.5);
  --card-ambient: rgba(16, 185, 129, 0.25);
  --card-shadow: rgba(16, 185, 129, 0.4);
}

.card-theme-purple {
  --card-accent-grad: linear-gradient(90deg, #c084fc, #a855f7, #7c3aed);
  --card-border: rgba(192, 132, 252, 0.5);
  --card-ambient: rgba(168, 85, 247, 0.25);
  --card-shadow: rgba(124, 58, 237, 0.4);
}

.card-theme-amber {
  --card-accent-grad: linear-gradient(90deg, #fbbf24, #f97316, #ea580c);
  --card-border: rgba(251, 191, 36, 0.5);
  --card-ambient: rgba(245, 158, 11, 0.25);
  --card-shadow: rgba(234, 88, 12, 0.4);
}

.card-theme-rose {
  --card-accent-grad: linear-gradient(90deg, #fb7185, #f43f5e, #e11d48);
  --card-border: rgba(251, 113, 133, 0.5);
  --card-ambient: rgba(244, 63, 94, 0.25);
  --card-shadow: rgba(225, 29, 72, 0.4);
}

.card-theme-cyan {
  --card-accent-grad: linear-gradient(90deg, #22d3ee, #06b6d4, #0284c7);
  --card-border: rgba(34, 211, 238, 0.5);
  --card-ambient: rgba(6, 182, 212, 0.25);
  --card-shadow: rgba(2, 132, 199, 0.4);
}

/* Service Colorful Icon Boxes */
.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.bento-card:hover .service-icon-box, .service-card:hover .service-icon-box {
  transform: scale(1.12) rotate(4deg);
}

.service-icon-box.icon-blue {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(37, 99, 235, 0.4) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.service-icon-box.icon-green {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(16, 185, 129, 0.4) 100%);
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.service-icon-box.icon-purple {
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.2) 0%, rgba(124, 58, 237, 0.4) 100%);
  border: 1px solid rgba(192, 132, 252, 0.4);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}

.service-icon-box.icon-amber {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(234, 88, 12, 0.4) 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.service-icon-box.icon-rose {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.2) 0%, rgba(225, 29, 72, 0.4) 100%);
  border: 1px solid rgba(251, 113, 133, 0.4);
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.35);
}

.service-icon-box.icon-cyan {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2) 0%, rgba(2, 132, 199, 0.4) 100%);
  border: 1px solid rgba(34, 211, 238, 0.4);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.service-icon-box svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* --- 2. FEATURE CARDS (WHY CHOOSE US) WITH ILLUSION DEPTH --- */
.feature-card {
  background: #080e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--feature-accent, linear-gradient(90deg, #38bdf8, #2563eb));
  opacity: 0.85;
  transition: height 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 18px 40px -10px rgba(37, 99, 235, 0.3);
}

.feature-card:hover::before {
  height: 4px;
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1);
}

.feature-icon-box svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* --- 3. PROCESS FLOW CARDS (CONNECTED ROADMAP ILLUSION) --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process-card {
  background: #080e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--proc-accent, #38bdf8);
  opacity: 0.85;
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: var(--proc-accent, rgba(56, 189, 248, 0.5));
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.35);
}

.process-step-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 16px;
}

/* --- 4. INDUSTRY MATRIX CARDS WITH PERSPECTIVE DEPTH --- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.industry-card {
  background: #080e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ind-accent, #38bdf8);
  opacity: 0.7;
}

.industry-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--ind-accent, rgba(56, 189, 248, 0.5));
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.35);
}

.industry-card:hover::before {
  height: 3px;
  opacity: 1;
}

.industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover .industry-icon {
  transform: scale(1.12);
}

.industry-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* --- 5. GROWTH STEP CARDS (PILLARS) WITH HOLOGRAPHIC ACCENTS --- */
.growth-step-card {
  background: #080e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.growth-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--growth-accent, linear-gradient(90deg, #38bdf8, #2563eb));
}

.growth-step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 22px 50px -10px rgba(37, 99, 235, 0.35);
}

.growth-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  width: fit-content;
}

/* --- 6. PRICING & PORTFOLIO CARDS ELEVATION --- */
.pricing-card {
  background: #080e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 42px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.7);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 24px 55px -10px rgba(37, 99, 235, 0.4);
}

.portfolio-card, .project-card {
  background: #080e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

.portfolio-card:hover, .project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 22px 50px -10px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   28. MASTER 100% CUSTOMIZED WHITE / LIGHT THEME SUITE (SEAMLESS PERFECTION)
   ========================================================================== */

/* --- THEME TOGGLE BUTTON (DESKTOP) --- */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: rotate(25deg) scale(1.08);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: all 0.3s ease;
}

.theme-toggle .moon-icon {
  display: none;
}

.theme-toggle .sun-icon {
  display: block;
  fill: #fbbf24;
}

/* --- LIGHT THEME MASTER TOKENS & OVERRIDES --- */
html[data-theme="light"], body.theme-light {
  /* Surfaces */
  --bg-deep-dark: #edf2f7;
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-light: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(37, 99, 235, 0.35);
  --border-focus: #2563eb;

  /* Typography */
  --text-main: #0f172a;            /* Pure Deep Navy / Black Slate */
  --text-muted: #334155;           /* Rich Dark Slate 700 */
  --text-light: #64748b;           /* Muted Secondary Slate 500 */
  --text-accent: #2563eb;          /* High-Contrast Royal Electric Blue */

  /* Brand Colors */
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-light: rgba(37, 99, 235, 0.08);
  --color-primary-glow: rgba(37, 99, 235, 0.25);
  --color-cyan: #0284c7;
  --color-cyan-glow: rgba(2, 132, 199, 0.2);

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
}

/* Light Theme Button Toggle State */
html[data-theme="light"] .theme-toggle,
body.theme-light .theme-toggle {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
  color: #2563eb;
}

html[data-theme="light"] .theme-toggle:hover,
body.theme-light .theme-toggle:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: #2563eb;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.3);
}

html[data-theme="light"] .theme-toggle .sun-icon,
body.theme-light .theme-toggle .sun-icon {
  display: none;
}

html[data-theme="light"] .theme-toggle .moon-icon,
body.theme-light .theme-toggle .moon-icon {
  display: block;
  fill: #2563eb;
}

/* --- 1. LIGHT THEME HEADINGS & BASE TEXT --- */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] .hero-title,
html[data-theme="light"] .section-title,
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4,
body.theme-light .hero-title,
body.theme-light .section-title {
  color: #0f172a !important;
}

html[data-theme="light"] p,
html[data-theme="light"] .hero-desc,
html[data-theme="light"] .lead-text,
html[data-theme="light"] .section-desc,
body.theme-light p,
body.theme-light .hero-desc,
body.theme-light .lead-text,
body.theme-light .section-desc {
  color: #334155 !important;
}

/* --- 2. LIGHT THEME HEADER & TOPBAR --- */
html[data-theme="light"] .header,
body.theme-light .header {
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .header.scrolled,
body.theme-light .header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .nav-link,
body.theme-light .nav-link {
  color: #334155;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active,
body.theme-light .nav-link:hover,
body.theme-light .nav-link.active {
  color: #2563eb;
}

html[data-theme="light"] .dropdown-menu,
body.theme-light .dropdown-menu {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
}

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

html[data-theme="light"] .dropdown-item-desc,
body.theme-light .dropdown-item-desc {
  color: #64748b;
}

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

html[data-theme="light"] .dropdown-item-icon,
body.theme-light .dropdown-item-icon {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
  color: #2563eb;
}

/* Mobile Drawer in Light Mode */
html[data-theme="light"] .mobile-nav,
body.theme-light .mobile-nav {
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .mobile-nav-link,
body.theme-light .mobile-nav-link {
  color: #0f172a;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .mobile-nav-link:hover,
html[data-theme="light"] .mobile-nav-link.active,
body.theme-light .mobile-nav-link:hover,
body.theme-light .mobile-nav-link.active {
  color: #2563eb;
}

html[data-theme="light"] .hamburger span,
body.theme-light .hamburger span {
  background-color: #0f172a;
}

/* --- 3. LIGHT THEME HERO & BADGES --- */
html[data-theme="light"] .badge,
html[data-theme="light"] .eyebrow-badge,
body.theme-light .badge,
body.theme-light .eyebrow-badge {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

html[data-theme="light"] .hero-trust-bar,
body.theme-light .hero-trust-bar {
  color: #475569;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .hero-mockup-frame,
body.theme-light .hero-mockup-frame {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .hero-mockup-topbar,
body.theme-light .hero-mockup-topbar {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

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

/* --- 4. LIGHT THEME TRUST & PLATFORM STRIP --- */
html[data-theme="light"] .trust-strip,
body.theme-light .trust-strip {
  background-color: #f1f5f9;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .trust-strip-label,
body.theme-light .trust-strip-label {
  color: #2563eb;
  border-right-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .trust-strip-item,
body.theme-light .trust-strip-item {
  color: #0f172a;
}

/* --- 5. LIGHT THEME ALL CARDS SUITE --- */
html[data-theme="light"] .bento-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .process-card,
html[data-theme="light"] .industry-card,
html[data-theme="light"] .growth-step-card,
html[data-theme="light"] .stat-box-card,
html[data-theme="light"] .platform-card,
html[data-theme="light"] .pricing-card,
html[data-theme="light"] .portfolio-card,
html[data-theme="light"] .project-card,
html[data-theme="light"] .case-study-card,
html[data-theme="light"] .testimonial-card,
body.theme-light .bento-card,
body.theme-light .service-card,
body.theme-light .feature-card,
body.theme-light .process-card,
body.theme-light .industry-card,
body.theme-light .growth-step-card,
body.theme-light .stat-box-card,
body.theme-light .platform-card,
body.theme-light .pricing-card,
body.theme-light .portfolio-card,
body.theme-light .project-card,
body.theme-light .case-study-card,
body.theme-light .testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .bento-card:hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .feature-card:hover,
html[data-theme="light"] .process-card:hover,
html[data-theme="light"] .industry-card:hover,
html[data-theme="light"] .growth-step-card:hover,
html[data-theme="light"] .stat-box-card:hover,
html[data-theme="light"] .platform-card:hover,
html[data-theme="light"] .pricing-card:hover,
html[data-theme="light"] .portfolio-card:hover,
html[data-theme="light"] .project-card:hover,
html[data-theme="light"] .case-study-card:hover,
html[data-theme="light"] .testimonial-card:hover,
body.theme-light .bento-card:hover,
body.theme-light .service-card:hover,
body.theme-light .feature-card:hover,
body.theme-light .process-card:hover,
body.theme-light .industry-card:hover,
body.theme-light .growth-step-card:hover,
body.theme-light .stat-box-card:hover,
body.theme-light .platform-card:hover,
body.theme-light .pricing-card:hover,
body.theme-light .portfolio-card:hover,
body.theme-light .project-card:hover,
body.theme-light .case-study-card:hover,
body.theme-light .testimonial-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.12), 0 0 20px rgba(37, 99, 235, 0.12);
}

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

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

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

html[data-theme="light"] .testimonial-quote-icon,
body.theme-light .testimonial-quote-icon {
  color: #2563eb;
  opacity: 0.75;
}

html[data-theme="light"] .testimonial-avatar,
body.theme-light .testimonial-avatar {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.1));
  border-color: rgba(37, 99, 235, 0.25);
  color: #1d4ed8;
}

html[data-theme="light"] .testimonial-footer,
body.theme-light .testimonial-footer {
  border-top-color: rgba(15, 23, 42, 0.08);
}

/* Card Typography */
html[data-theme="light"] .service-title,
html[data-theme="light"] .feature-title,
html[data-theme="light"] .platform-name,
html[data-theme="light"] .stat-box-label,
html[data-theme="light"] .process-card h4,
html[data-theme="light"] .industry-card h4,
html[data-theme="light"] .growth-step-title,
html[data-theme="light"] .pricing-price,
html[data-theme="light"] .portfolio-card-title,
html[data-theme="light"] .project-title,
body.theme-light .service-title,
body.theme-light .feature-title,
body.theme-light .platform-name,
body.theme-light .stat-box-label,
body.theme-light .process-card h4,
body.theme-light .industry-card h4,
body.theme-light .growth-step-title,
body.theme-light .pricing-price,
body.theme-light .portfolio-card-title,
body.theme-light .project-title {
  color: #0f172a !important;
}

html[data-theme="light"] .service-desc,
html[data-theme="light"] .feature-desc,
html[data-theme="light"] .platform-desc,
html[data-theme="light"] .stat-box-desc,
html[data-theme="light"] .process-card p,
html[data-theme="light"] .growth-step-desc,
html[data-theme="light"] .pricing-feature,
html[data-theme="light"] .portfolio-card-desc,
html[data-theme="light"] .project-desc,
body.theme-light .service-desc,
body.theme-light .feature-desc,
body.theme-light .platform-desc,
body.theme-light .stat-box-desc,
body.theme-light .process-card p,
body.theme-light .growth-step-desc,
body.theme-light .pricing-feature,
body.theme-light .portfolio-card-desc,
body.theme-light .project-desc {
  color: #334155 !important;
}

/* Number Value Gradients on White */
html[data-theme="light"] .stat-value-blue,
body.theme-light .stat-value-blue {
  background: linear-gradient(135deg, #0f172a 20%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .stat-value-green,
body.theme-light .stat-value-green {
  background: linear-gradient(135deg, #0f172a 20%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .stat-value-purple,
body.theme-light .stat-value-purple {
  background: linear-gradient(135deg, #0f172a 20%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .stat-value-amber,
body.theme-light .stat-value-amber {
  background: linear-gradient(135deg, #0f172a 20%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- 6. LIGHT THEME CODING / TECH ARCHITECTURE CARDS --- */
html[data-theme="light"] .code-card,
body.theme-light .code-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .code-card-topbar,
body.theme-light .code-card-topbar {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .code-card-filename,
body.theme-light .code-card-filename {
  color: #475569;
}

html[data-theme="light"] .code-card-body,
body.theme-light .code-card-body {
  background: #f8fafc;
}

html[data-theme="light"] .code-num,
body.theme-light .code-num {
  color: #94a3b8;
}

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

html[data-theme="light"] .token-kw,
body.theme-light .token-kw { color: #9333ea; font-weight: 700; }
html[data-theme="light"] .token-tag,
body.theme-light .token-tag { color: #2563eb; font-weight: 700; }
html[data-theme="light"] .token-attr,
body.theme-light .token-attr { color: #0284c7; }
html[data-theme="light"] .token-str,
body.theme-light .token-str { color: #059669; font-weight: 500; }
html[data-theme="light"] .token-fn,
body.theme-light .token-fn { color: #d97706; font-weight: 600; }
html[data-theme="light"] .token-comment,
body.theme-light .token-comment { color: #64748b; }

html[data-theme="light"] .code-card-footer,
body.theme-light .code-card-footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .code-card-feature,
body.theme-light .code-card-feature {
  color: #0f172a;
}

/* --- 7. LIGHT THEME CTA BANNER --- */
html[data-theme="light"] .cta-banner,
body.theme-light .cta-banner {
  background: radial-gradient(circle at 50% 0%, #dbeafe 0%, #eff6ff 60%, #f8fafc 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.15);
}

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

html[data-theme="light"] .cta-desc,
body.theme-light .cta-desc {
  color: #334155 !important;
}

/* --- 7.1. MASTER LIGHT THEME BUTTONS & OUTLINES (ZERO INVISIBLE BUTTONS) --- */
html[data-theme="light"] .btn-outline,
html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .btn-outline-white,
body.theme-light .btn-outline,
body.theme-light .btn-secondary,
body.theme-light .btn-outline-white {
  background: #ffffff !important;
  color: #2563eb !important;
  border: 1.5px solid #2563eb !important;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12) !important;
  text-shadow: none !important;
}

html[data-theme="light"] .btn-outline:hover,
html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .btn-outline-white:hover,
body.theme-light .btn-outline:hover,
body.theme-light .btn-secondary:hover,
body.theme-light .btn-outline-white:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
}

html[data-theme="light"] .btn-ghost,
body.theme-light .btn-ghost {
  background: transparent !important;
  color: #2563eb !important;
}

html[data-theme="light"] .btn-ghost:hover,
body.theme-light .btn-ghost:hover {
  background: rgba(37, 99, 235, 0.08) !important;
  color: #1d4ed8 !important;
}

/* Master Logo Switching in Light Mode */
html[data-theme="light"] .header-logo-img,
html[data-theme="light"] .footer-logo-img,
html[data-theme="light"] .brand-logo img,
body.theme-light .header-logo-img,
body.theme-light .footer-logo-img,
body.theme-light .brand-logo img {
  content: url("../images/logo-dark.png") !important;
}

/* Spotlight Link Contrast */
html[data-theme="light"] .spotlight-link,
body.theme-light .spotlight-link {
  color: #2563eb !important;
}

html[data-theme="light"] .spotlight-link:hover,
body.theme-light .spotlight-link:hover {
  color: #1d4ed8 !important;
}

/* --- 8. LIGHT THEME FAQ ACCORDION --- */
html[data-theme="light"] .faq-item,
body.theme-light .faq-item {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .faq-question,
body.theme-light .faq-question {
  color: #0f172a !important;
}

html[data-theme="light"] .faq-question:hover,
body.theme-light .faq-question:hover {
  color: #2563eb !important;
}

html[data-theme="light"] .faq-answer,
body.theme-light .faq-answer {
  color: #334155 !important;
}

/* --- 9. LIGHT THEME FORMS & INPUTS --- */
html[data-theme="light"] .form-control,
html[data-theme="light"] .form-input,
html[data-theme="light"] .form-textarea,
html[data-theme="light"] .form-select,
body.theme-light .form-control,
body.theme-light .form-input,
body.theme-light .form-textarea,
body.theme-light .form-select {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .form-control:focus,
body.theme-light .form-control:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

html[data-theme="light"] .form-label,
body.theme-light .form-label {
  color: #0f172a !important;
}

html[data-theme="light"] .chip-text,
body.theme-light .chip-text {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

/* --- 10. LIGHT THEME PORTFOLIO FILTERS & MODAL --- */
html[data-theme="light"] .filter-btn,
body.theme-light .filter-btn {
  background: #ffffff !important;
  color: #475569 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

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

html[data-theme="light"] .filter-btn.active,
body.theme-light .filter-btn.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3) !important;
}

html[data-theme="light"] .lightbox-content,
body.theme-light .lightbox-content {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .lightbox-caption,
body.theme-light .lightbox-caption {
  background: #f8fafc !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

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

/* --- 11. LIGHT THEME FULLY CUSTOMIZED CRISP FOOTER --- */
html[data-theme="light"] .footer,
body.theme-light .footer {
  background-color: #f1f5f9 !important;
  color: #475569 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .footer-brand h3,
html[data-theme="light"] .footer-col h4,
body.theme-light .footer-brand h3,
body.theme-light .footer-col h4 {
  color: #0f172a !important;
}

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

html[data-theme="light"] .footer-brand .badge,
body.theme-light .footer-brand .badge {
  background: rgba(37, 99, 235, 0.08) !important;
  color: #2563eb !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
}

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

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

html[data-theme="light"] .social-icon-link,
body.theme-light .social-icon-link {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #475569 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .social-icon-link:hover,
body.theme-light .social-icon-link:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
}

html[data-theme="light"] .footer-contact-item,
body.theme-light .footer-contact-item {
  color: #334155 !important;
}

html[data-theme="light"] .footer-contact-item a,
body.theme-light .footer-contact-item a {
  color: #334155 !important;
}

html[data-theme="light"] .footer-contact-item a:hover,
body.theme-light .footer-contact-item a:hover {
  color: #2563eb !important;
}

html[data-theme="light"] .footer-contact-item svg,
body.theme-light .footer-contact-item svg {
  fill: #2563eb !important;
}

html[data-theme="light"] .footer-bottom,
body.theme-light .footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: #64748b !important;
}

html[data-theme="light"] .footer-bottom-links a,
body.theme-light .footer-bottom-links a {
  color: #64748b !important;
}

html[data-theme="light"] .footer-bottom-links a:hover,
body.theme-light .footer-bottom-links a:hover {
  color: #2563eb !important;
}

/* --- 12. LIGHT THEME TOAST NOTIFICATIONS --- */
html[data-theme="light"] .toast,
body.theme-light .toast {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 14px 35px -5px rgba(15, 23, 42, 0.15) !important;
}

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

/* --- 13. LIGHT THEME BACK TO TOP BUTTON --- */
html[data-theme="light"] .back-to-top,
body.theme-light .back-to-top {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] .back-to-top:hover,
body.theme-light .back-to-top:hover {
  background-color: #2563eb !important;
  color: #ffffff !important;
}

/* ==========================================================================
   29. HERO SECTION UX/UI GRAPHIC ILLUSTRATION & AMBIENT AURORA
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-main);
  padding: 95px 0 85px;
}

/* Background Aurora Radial Glowing Orbs */
.hero-aurora-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-aurora-glow::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -5%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(37, 99, 235, 0.14) 45%, transparent 70%);
  filter: blur(50px);
  animation: auraFloat 8s ease-in-out infinite alternate;
}

.hero-aurora-glow::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -5%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, rgba(37, 99, 235, 0.08) 50%, transparent 70%);
  filter: blur(55px);
  animation: auraFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes auraFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.08); }
  100% { transform: translate(20px, -25px) scale(0.95); }
}

/* Abstract UX/UI Wireframe & Isometric Grid Background */
.hero-bg-graphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  transition: opacity 0.4s ease;
}

.hero-grid-mesh {
  width: 100%;
  height: 100%;
  display: block;
}

/* Floating Interactive Micro-UI Glass Cards */
.hero-floating-badge {
  position: absolute;
  z-index: 3;
  background: rgba(8, 14, 30, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.2);
  animation: floatSlow 5s ease-in-out infinite alternate;
  pointer-events: auto;
  transition: all var(--transition-normal);
}

.hero-floating-badge:hover {
  transform: scale(1.06) translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 18px 40px -6px rgba(37, 99, 235, 0.4), 0 0 25px rgba(56, 189, 248, 0.35);
}

.hero-floating-badge.badge-top-left {
  top: 15px;
  left: -20px;
  animation-delay: 0.2s;
}

.hero-floating-badge.badge-bottom-right {
  bottom: -15px;
  right: -15px;
  animation-delay: 1.5s;
}

.hero-floating-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-icon.icon-cyan {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.hero-floating-icon.icon-green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.hero-floating-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-floating-text {
  display: flex;
  flex-direction: column;
}

.hero-floating-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.2;
}

.hero-floating-subtitle {
  font-size: 0.68rem;
  color: var(--color-cyan);
  font-weight: 600;
  font-family: var(--font-mono);
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
  100% { transform: translateY(6px) rotate(-1deg); }
}

/* Light Mode Overrides for Hero Graphics */
html[data-theme="light"] .hero-section,
body.theme-light .hero-section {
  background-color: #f8fafc;
}

html[data-theme="light"] .hero-aurora-glow::before,
body.theme-light .hero-aurora-glow::before {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(37, 99, 235, 0.08) 50%, transparent 70%);
}

html[data-theme="light"] .hero-aurora-glow::after,
body.theme-light .hero-aurora-glow::after {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, rgba(59, 130, 246, 0.06) 50%, transparent 70%);
}

html[data-theme="light"] .hero-bg-graphic,
body.theme-light .hero-bg-graphic {
  opacity: 0.55;
}

html[data-theme="light"] .hero-floating-badge,
body.theme-light .hero-floating-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 14px 30px -6px rgba(15, 23, 42, 0.12), 0 0 20px rgba(37, 99, 235, 0.15);
}

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

html[data-theme="light"] .hero-floating-subtitle,
body.theme-light .hero-floating-subtitle {
  color: #2563eb;
}

/* Responsive for Floating Badges on Mobile */
@media (max-width: 768px) {
  .hero-floating-badge {
    display: none;
  }
}

/* ==========================================================================
   30. CINEMATIC STICKY STACKING FULL-WIDTH SERVICE SHOWCASE CARDS
   ========================================================================== */
.stacked-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
  margin-top: 50px;
  padding-bottom: 30px;
}

.stacked-card {
  position: sticky;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.3s ease;
  z-index: calc(10 + var(--card-index, 1));
}

/* Dynamic Top Sticky Offsets for Layered Card Stacking Effect */
.stacked-card:nth-child(1) { --card-index: 1; top: 90px; }
.stacked-card:nth-child(2) { --card-index: 2; top: 105px; }
.stacked-card:nth-child(3) { --card-index: 3; top: 120px; }
.stacked-card:nth-child(4) { --card-index: 4; top: 135px; }
.stacked-card:nth-child(5) { --card-index: 5; top: 150px; }
.stacked-card:nth-child(6) { --card-index: 6; top: 165px; }

/* Glowing Top Accent Laser Beam on Each Card */
.stacked-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--stack-accent, linear-gradient(90deg, #00f2fe, #2563eb));
  opacity: 0.9;
  z-index: 5;
  transition: height 0.3s ease;
}

.stacked-card:hover {
  border-color: var(--stack-border, rgba(56, 189, 248, 0.5));
  box-shadow: 0 35px 80px -15px var(--stack-shadow, rgba(37, 99, 235, 0.4)), 0 0 30px var(--stack-ambient, rgba(56, 189, 248, 0.15));
}

.stacked-card:hover::before {
  height: 4px;
}

/* Left Content Column */
.stacked-card-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.stacked-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stack-eyebrow, #38bdf8);
  margin-bottom: 14px;
}

.stacked-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.stacked-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.stacked-card-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.stacked-card-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0;
}

.stacked-card-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Feature Capabilities Pills */
.stacked-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.stacked-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stacked-pill svg {
  width: 14px;
  height: 14px;
  fill: var(--stack-eyebrow, #38bdf8);
}

/* Right Media Showcase Column */
.stacked-card-media {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: #050a16;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* Media Overlay Sheen & Live Badge */
.stacked-media-badge {
  position: absolute;
  bottom: 22px;
  right: 22px;
  background: rgba(8, 14, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  z-index: 3;
}

/* Card Specific Themes (Blue, Green, Purple, Amber, Rose, Cyan) */
.stack-theme-web {
  --stack-accent: linear-gradient(90deg, #00f2fe, #38bdf8, #2563eb);
  --stack-eyebrow: #38bdf8;
  --stack-border: rgba(56, 189, 248, 0.5);
  --stack-shadow: rgba(37, 99, 235, 0.4);
  --stack-ambient: rgba(56, 189, 248, 0.2);
}

.stack-theme-app {
  --stack-accent: linear-gradient(90deg, #34d399, #10b981, #059669);
  --stack-eyebrow: #34d399;
  --stack-border: rgba(52, 211, 153, 0.5);
  --stack-shadow: rgba(16, 185, 129, 0.4);
  --stack-ambient: rgba(16, 185, 129, 0.2);
}

.stack-theme-seo {
  --stack-accent: linear-gradient(90deg, #c084fc, #a855f7, #7c3aed);
  --stack-eyebrow: #c084fc;
  --stack-border: rgba(192, 132, 252, 0.5);
  --stack-shadow: rgba(124, 58, 237, 0.4);
  --stack-ambient: rgba(168, 85, 247, 0.2);
}

.stack-theme-marketing {
  --stack-accent: linear-gradient(90deg, #fbbf24, #f97316, #ea580c);
  --stack-eyebrow: #fbbf24;
  --stack-border: rgba(251, 191, 36, 0.5);
  --stack-shadow: rgba(234, 88, 12, 0.4);
  --stack-ambient: rgba(245, 158, 11, 0.2);
}

.stack-theme-social {
  --stack-accent: linear-gradient(90deg, #fb7185, #f43f5e, #e11d48);
  --stack-eyebrow: #fb7185;
  --stack-border: rgba(251, 113, 133, 0.5);
  --stack-shadow: rgba(225, 29, 72, 0.4);
  --stack-ambient: rgba(244, 63, 94, 0.2);
}

.stack-theme-local {
  --stack-accent: linear-gradient(90deg, #22d3ee, #06b6d4, #0284c7);
  --stack-eyebrow: #22d3ee;
  --stack-border: rgba(34, 211, 238, 0.5);
  --stack-shadow: rgba(2, 132, 199, 0.4);
  --stack-ambient: rgba(6, 182, 212, 0.2);
}

/* Light Mode Overrides for Sticky Stacking Cards */
html[data-theme="light"] .stacked-card,
body.theme-light .stacked-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .stacked-card:hover,
body.theme-light .stacked-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 35px 80px -15px rgba(37, 99, 235, 0.2), 0 0 25px rgba(37, 99, 235, 0.1);
}

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

html[data-theme="light"] .stacked-card-desc,
body.theme-light .stacked-card-desc {
  color: #334155 !important;
}

html[data-theme="light"] .stacked-pill,
body.theme-light .stacked-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

html[data-theme="light"] .stacked-media-badge,
body.theme-light .stacked-media-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

/* Mobile Responsive Rules for Stacking Cards */
@media (max-width: 1024px) {
  .stacked-card {
    grid-template-columns: 1fr;
    top: 80px !important;
  }
  .stacked-card-content {
    padding: 34px 26px;
  }
  .stacked-card-media {
    min-height: 250px;
    max-height: 300px;
  }
}

@media (max-width: 640px) {
  .stacked-cards-wrapper {
    gap: 30px;
  }
  .stacked-card-content {
    padding: 26px 20px;
  }
  .stacked-card-title {
    font-size: 1.35rem;
  }
  .stacked-card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .stacked-pill {
    font-size: 0.74rem;
    padding: 4px 10px;
  }
  .stacked-card-media {
    min-height: 210px;
  }
  .stacked-media-badge {
    bottom: 14px;
    right: 14px;
    font-size: 0.74rem;
    padding: 6px 12px;
  }
}

/* ==========================================================================
   31. COMPREHENSIVE HIGH-CONTRAST LIGHT / WHITE THEME MASTER ENGINE
   WCAG AAA Compliant • Slate / Blue Executive Palette • 100% Crisp Visibility
   ========================================================================== */

html[data-theme="light"],
body.theme-light {
  --bg-deep-dark: #f8fafc;
  --bg-main: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --border-light: rgba(15, 23, 42, 0.1);
  --border-hover: rgba(37, 99, 235, 0.45);
  --border-focus: #2563eb;

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  --text-accent: #2563eb;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 50px -10px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.15);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.15);
}

/* Light Theme: Base Typography */
html[data-theme="light"] h1, html[data-theme="light"] h2, html[data-theme="light"] h3, html[data-theme="light"] h4, html[data-theme="light"] h5, html[data-theme="light"] h6,
body.theme-light h1, body.theme-light h2, body.theme-light h3, body.theme-light h4, body.theme-light h5, body.theme-light h6 {
  color: #0f172a !important;
}

html[data-theme="light"] p, html[data-theme="light"] .lead-text,
body.theme-light p, body.theme-light .lead-text {
  color: #334155 !important;
}

/* Light Theme: Header & Navigation */
html[data-theme="light"] .header,
body.theme-light .header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .header.scrolled,
body.theme-light .header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .nav-link,
body.theme-light .nav-link {
  color: #334155;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active,
body.theme-light .nav-link:hover,
body.theme-light .nav-link.active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

/* Light Theme: Mega Dropdown */
html[data-theme="light"] .mega-dropdown,
body.theme-light .mega-dropdown {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .dropdown-item,
body.theme-light .dropdown-item {
  color: #1e293b;
}

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

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

html[data-theme="light"] .dropdown-item-desc,
body.theme-light .dropdown-item-desc {
  color: #64748b;
}

/* Light Theme: Mobile Nav Drawer */
html[data-theme="light"] .mobile-nav,
body.theme-light .mobile-nav {
  background: #ffffff;
  border-left-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .mobile-nav-link,
body.theme-light .mobile-nav-link {
  color: #0f172a;
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .mobile-submenu,
body.theme-light .mobile-submenu {
  background: #f8fafc;
}

html[data-theme="light"] .mobile-submenu a,
body.theme-light .mobile-submenu a {
  color: #334155;
}

/* Light Theme: Cards, Bento & Feature Boxes */
html[data-theme="light"] .bento-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .stat-box-card,
html[data-theme="light"] .platform-card,
html[data-theme="light"] .process-step-node,
html[data-theme="light"] .industry-card,
html[data-theme="light"] .portfolio-card,
html[data-theme="light"] .case-study-card,
html[data-theme="light"] .pricing-card,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .contact-card,
body.theme-light .bento-card,
body.theme-light .service-card,
body.theme-light .feature-card,
body.theme-light .stat-box-card,
body.theme-light .platform-card,
body.theme-light .process-step-node,
body.theme-light .industry-card,
body.theme-light .portfolio-card,
body.theme-light .case-study-card,
body.theme-light .pricing-card,
body.theme-light .blog-card,
body.theme-light .contact-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

html[data-theme="light"] .bento-card:hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .feature-card:hover,
html[data-theme="light"] .stat-box-card:hover,
html[data-theme="light"] .platform-card:hover,
html[data-theme="light"] .portfolio-card:hover,
html[data-theme="light"] .pricing-card:hover,
body.theme-light .bento-card:hover,
body.theme-light .service-card:hover,
body.theme-light .feature-card:hover,
body.theme-light .stat-box-card:hover,
body.theme-light .platform-card:hover,
body.theme-light .portfolio-card:hover,
body.theme-light .pricing-card:hover {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.12) !important;
}

/* Light Theme: Trust Strip & Platforms */
html[data-theme="light"] .trust-strip,
body.theme-light .trust-strip {
  background: #f8fafc;
  border-top-color: rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .trust-strip-item,
body.theme-light .trust-strip-item {
  color: #334155;
}

/* Light Theme: Hero Frame & Badges */
html[data-theme="light"] .hero-mockup-frame,
body.theme-light .hero-mockup-frame {
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15);
}

html[data-theme="light"] .hero-mockup-topbar,
body.theme-light .hero-mockup-topbar {
  background: #f1f5f9;
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .mockup-url-bar,
body.theme-light .mockup-url-bar {
  background: #ffffff;
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .hero-floating-badge,
body.theme-light .hero-floating-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

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

html[data-theme="light"] .hero-floating-subtitle,
body.theme-light .hero-floating-subtitle {
  color: #64748b;
}

/* Light Theme: Code Cards & Terminals */
html[data-theme="light"] .code-card,
body.theme-light .code-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .code-card-topbar,
body.theme-light .code-card-topbar {
  background: #e2e8f0;
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .code-card-filename,
body.theme-light .code-card-filename {
  color: #334155;
}

/* Light Theme: FAQ Accordions */
html[data-theme="light"] .faq-item,
body.theme-light .faq-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

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

html[data-theme="light"] .faq-question:hover,
body.theme-light .faq-question:hover {
  color: #2563eb;
}

html[data-theme="light"] .faq-answer,
body.theme-light .faq-answer {
  color: #334155;
  border-top-color: rgba(15, 23, 42, 0.08);
}

/* Light Theme: Form Inputs & Fields */
html[data-theme="light"] .form-control,
html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="tel"],
html[data-theme="light"] select,
html[data-theme="light"] textarea,
body.theme-light .form-control,
body.theme-light input[type="text"],
body.theme-light input[type="email"],
body.theme-light input[type="tel"],
body.theme-light select,
body.theme-light textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

html[data-theme="light"] .form-control:focus,
html[data-theme="light"] input:focus,
html[data-theme="light"] textarea:focus,
body.theme-light .form-control:focus,
body.theme-light input:focus,
body.theme-light textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}



/* Light Theme: CTA Section Banner */
html[data-theme="light"] .cta-box,
body.theme-light .cta-box {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
}

/* ==========================================================================
   MOBILE DRAGGABLE VERTICAL SCROLLBAR (RIGHT EDGE OF VIEWPORT)
   ========================================================================== */
.mobile-scrollbar-track {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-scrollbar-track {
    display: block;
    position: fixed;
    top: max(75px, env(safe-area-inset-top, 75px));
    bottom: max(78px, env(safe-area-inset-bottom, 78px));
    right: 2px;
    width: 24px; /* Generous touch target area */
    z-index: 99998;
    cursor: pointer;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
  }

  /* The subtle vertical track groove */
  .mobile-scrollbar-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 5px;
    width: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    transition: background 0.2s ease, width 0.15s ease;
  }

  .mobile-scrollbar-track:active::before,
  .mobile-scrollbar-track.is-dragging::before {
    background: rgba(255, 255, 255, 0.16);
    width: 6px;
    right: 4px;
  }

  /* Draggable Thumb */
  .mobile-scrollbar-thumb {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px; /* Full touch target */
    height: 44px; /* Default height, dynamically updated by JS */
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    transform: translateY(0);
    will-change: transform;
    transition: none !important;
  }

  /* Visible Pill Thumb */
  .mobile-scrollbar-thumb::after {
    content: '';
    width: 6px;
    height: 100%;
    margin-right: 4px;
    background: linear-gradient(180deg, #3b82f6, #38bdf8);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: width 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }

  .mobile-scrollbar-thumb:active,
  .mobile-scrollbar-thumb.is-dragging {
    cursor: grabbing;
  }

  .mobile-scrollbar-thumb:active::after,
  .mobile-scrollbar-thumb.is-dragging::after {
    width: 8px;
    margin-right: 3px;
    background: linear-gradient(180deg, #60a5fa, #38bdf8);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.9), 0 4px 12px rgba(0, 0, 0, 0.65);
    border-color: #ffffff;
  }

  /* Light Theme Overrides */
  html[data-theme="light"] .mobile-scrollbar-track::before,
  body.theme-light .mobile-scrollbar-track::before {
    background: rgba(15, 23, 42, 0.1);
  }

  html[data-theme="light"] .mobile-scrollbar-track:active::before,
  body.theme-light .mobile-scrollbar-track:active::before,
  html[data-theme="light"] .mobile-scrollbar-track.is-dragging::before,
  body.theme-light .mobile-scrollbar-track.is-dragging::before {
    background: rgba(15, 23, 42, 0.2);
  }

  html[data-theme="light"] .mobile-scrollbar-thumb::after,
  body.theme-light .mobile-scrollbar-thumb::after {
    background: linear-gradient(180deg, #2563eb, #38bdf8);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4), 0 2px 6px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.8);
  }
}


html[data-theme="light"] .cta-box h2,
html[data-theme="light"] .cta-box p,
body.theme-light .cta-box h2,
body.theme-light .cta-box p {
  color: #ffffff !important;
}

/* Light Theme: Badges & Pills */
html[data-theme="light"] .badge,
body.theme-light .badge {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   ABOUT US PAGE — ULTRA-PREMIUM TECH AGENCY STYLING & ANIMATIONS
   ========================================================================== */

/* 1. Global SVG Icon Badge Safety */
.feature-icon-badge,
.approach-icon-badge,
.value-icon-badge,
.stat-icon-badge,
.timeline-icon-badge {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  margin-bottom: 18px;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.feature-icon-badge svg,
.approach-icon-badge svg,
.value-icon-badge svg,
.stat-icon-badge svg,
.timeline-icon-badge svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  fill: currentColor;
}

.approach-step-card:hover .approach-icon-badge,
.value-card:hover .value-icon-badge,
.feature-box:hover .feature-icon-badge {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(56, 189, 248, 0.2));
  border-color: var(--color-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* 2. Hero Interactive Stat Strip */
.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.about-stat-card {
  background: rgba(15, 27, 54, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 22px 20px;
  border-radius: var(--radius-md);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #38bdf8);
  opacity: 0.6;
  transition: opacity var(--transition-normal);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
}

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

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.about-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.about-stat-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
  margin: 0;
}

/* 3. Agency Story Media Card with Holographic Glow */
.about-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(59, 130, 246, 0.15);
  background: #0b1328;
}

.about-media-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

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

.about-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 25, 0.1) 0%, rgba(6, 11, 25, 0.85) 100%);
  pointer-events: none;
}

.about-media-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(11, 19, 40, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGlowGreen 2s infinite ease-in-out;
}

@keyframes pulseGlowGreen {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px #10b981; }
  50% { opacity: 0.5; transform: scale(0.85); box-shadow: 0 0 4px #10b981; }
}

/* 4. Strategic Approach Steps (Bento Style) */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.approach-step-card {
  background: linear-gradient(145deg, rgba(15, 27, 54, 0.7), rgba(11, 19, 40, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.approach-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.approach-step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(145deg, rgba(20, 35, 71, 0.8), rgba(15, 27, 54, 0.95));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.15);
}

.approach-step-card:hover::before {
  opacity: 1;
}

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

.approach-step-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.approach-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

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

.approach-deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.approach-deliverables li {
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.approach-deliverables li svg {
  width: 14px;
  height: 14px;
  fill: var(--color-cyan);
  flex-shrink: 0;
}

/* 5. Values Bento Grid */
.values-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  background: linear-gradient(145deg, rgba(15, 27, 54, 0.6), rgba(11, 19, 40, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.12);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.value-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin: 0;
}

/* 6. Technical Standards & USA Guarantees */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.standard-card {
  background: rgba(11, 19, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.standard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(15, 27, 54, 0.85);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.standard-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.standard-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* 7. Milestone Timeline Flow */
.timeline-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 20px;
}

.timeline-step-node {
  background: rgba(15, 27, 54, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: all var(--transition-normal);
}

.timeline-step-node:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.timeline-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Light Theme Overrides for About Page Components */
html[data-theme="light"] .about-stat-card,
body.theme-light .about-stat-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .about-stat-number,
body.theme-light .about-stat-number {
  color: #0f172a;
}

html[data-theme="light"] .about-stat-desc,
body.theme-light .about-stat-desc {
  color: #64748b;
}

html[data-theme="light"] .about-media-badge,
body.theme-light .about-media-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.2);
}

html[data-theme="light"] .approach-step-card,
body.theme-light .approach-step-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .approach-step-card:hover,
body.theme-light .approach-step-card:hover {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
}

html[data-theme="light"] .approach-title,
body.theme-light .approach-title,
html[data-theme="light"] .value-title,
body.theme-light .value-title,
html[data-theme="light"] .standard-title,
body.theme-light .standard-title,
html[data-theme="light"] .timeline-title,
body.theme-light .timeline-title {
  color: #0f172a;
}

html[data-theme="light"] .value-card,
body.theme-light .value-card,
html[data-theme="light"] .standard-card,
body.theme-light .standard-card,
html[data-theme="light"] .timeline-step-node,
body.theme-light .timeline-step-node {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .value-card:hover,
body.theme-light .value-card:hover,
html[data-theme="light"] .standard-card:hover,
body.theme-light .standard-card:hover,
html[data-theme="light"] .timeline-step-node:hover,
body.theme-light .timeline-step-node:hover {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
}

/* Responsive Breakpoints for About Page */
@media (max-width: 1024px) {
  .about-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-hero-stats {
    grid-template-columns: 1fr;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .values-bento-grid {
    grid-template-columns: 1fr;
  }
  .standards-grid {
    grid-template-columns: 1fr;
  }
  .timeline-flow-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRICING & PACKAGES — MASTER DESIGN SYSTEM & COMPARISON MATRIX
   ========================================================================== */

/* 1. Category Switcher Tabs */
.pricing-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.pricing-tabs {
  display: inline-flex;
  background: rgba(15, 27, 54, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 999px;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.pricing-tab-btn {
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.pricing-tab-btn:hover {
  color: #ffffff;
}

.pricing-tab-btn.active {
  background: linear-gradient(135deg, #3b82f6, #38bdf8);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4);
}

/* 2. Pricing Grid & Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: linear-gradient(145deg, rgba(15, 27, 54, 0.75), rgba(11, 19, 40, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.15);
}

.pricing-card.featured {
  background: linear-gradient(145deg, rgba(20, 35, 71, 0.85), rgba(15, 27, 54, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.75), 0 0 35px rgba(56, 189, 248, 0.25);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #38bdf8);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.5);
  white-space: nowrap;
}

.pricing-tier {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.pricing-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 48px;
}

.pricing-amount {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.pricing-prefix {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  margin-left: 4px;
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--color-cyan);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  display: inline-block;
  align-self: flex-start;
}

/* 3. Pricing Feature List Items (STRICT CONTROLLED SVGS) */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-feature-item svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  fill: #10b981 !important;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-feature-item.muted {
  color: var(--text-light);
  opacity: 0.55;
  text-decoration: line-through;
}

.pricing-feature-item.muted svg {
  fill: #64748b !important;
}

/* 4. Comparison Table Matrix */
.comparison-table-wrapper {
  background: rgba(15, 27, 54, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  margin-top: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

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

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.comparison-table th {
  background: rgba(11, 19, 40, 0.95);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  position: sticky;
  top: 0;
}

.comparison-table th.highlight-col {
  color: var(--color-cyan);
  background: rgba(56, 189, 248, 0.12);
  border-left: 1px solid rgba(56, 189, 248, 0.25);
  border-right: 1px solid rgba(56, 189, 248, 0.25);
}

.comparison-table td.highlight-col {
  background: rgba(56, 189, 248, 0.04);
  border-left: 1px solid rgba(56, 189, 248, 0.15);
  border-right: 1px solid rgba(56, 189, 248, 0.15);
  font-weight: 600;
  color: #ffffff;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-check-icon {
  width: 18px;
  height: 18px;
  fill: #10b981;
  display: inline-block;
  vertical-align: middle;
}

.table-dash-icon {
  color: #64748b;
  font-weight: bold;
}

/* 5. Guarantees Strip */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.guarantee-card {
  background: rgba(15, 27, 54, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: left;
  transition: all var(--transition-normal);
}

.guarantee-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.guarantee-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.guarantee-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Light Theme Overrides for Pricing Components */
html[data-theme="light"] .pricing-card,
body.theme-light .pricing-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .pricing-card:hover,
body.theme-light .pricing-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
}

html[data-theme="light"] .pricing-card.featured,
body.theme-light .pricing-card.featured {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15);
}

html[data-theme="light"] .pricing-tier,
body.theme-light .pricing-tier,
html[data-theme="light"] .pricing-price,
body.theme-light .pricing-price,
html[data-theme="light"] .guarantee-title,
body.theme-light .guarantee-title {
  color: #0f172a;
}

html[data-theme="light"] .pricing-tabs,
body.theme-light .pricing-tabs {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .pricing-tab-btn,
body.theme-light .pricing-tab-btn {
  color: #64748b;
}

html[data-theme="light"] .pricing-tab-btn.active,
body.theme-light .pricing-tab-btn.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
}

html[data-theme="light"] .pricing-note,
body.theme-light .pricing-note {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.2);
}

html[data-theme="light"] .comparison-table-wrapper,
body.theme-light .comparison-table-wrapper {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .comparison-table th,
body.theme-light .comparison-table th {
  background: #f8fafc;
  color: #0f172a;
}

html[data-theme="light"] .comparison-table th.highlight-col,
body.theme-light .comparison-table th.highlight-col {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

html[data-theme="light"] .comparison-table td.highlight-col,
body.theme-light .comparison-table td.highlight-col {
  background: rgba(37, 99, 235, 0.03);
  color: #0f172a;
}

html[data-theme="light"] .guarantee-card,
body.theme-light .guarantee-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Responsive Breakpoints for Pricing */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
  .pricing-tabs {
    flex-direction: column;
    border-radius: var(--radius-md);
    width: 100%;
  }
  .pricing-tab-btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   CONTACT US PAGE — MASTER STYLES & INTERACTION ENGINE
   ========================================================================== */

/* 0. Global SVG Safety Guards */
svg {
  box-sizing: border-box;
}

.contact-info-icon,
.stat-icon-badge,
.feature-icon-badge,
.approach-icon-badge,
.dropdown-item-icon,
.topbar-item svg,
.footer-contact-item svg {
  overflow: hidden !important;
}

/* 1. Live Availability Status Indicator */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 20px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
}

.live-pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.5);
  animation: pulseRadar 2s infinite ease-out;
}

/* 2. Contact Form Container & Interactive Selectors */
.contact-form-card {
  background: linear-gradient(145deg, rgba(15, 27, 54, 0.85), rgba(11, 19, 40, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  position: relative;
  backdrop-filter: blur(16px);
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #10b981);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-section-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  display: block;
}

/* Interactive Chips (Service & Budget & Timeline) */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.chip-btn.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(56, 189, 248, 0.3));
  border-color: var(--color-cyan);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
  font-weight: 700;
}

/* 3. Direct Contact Channels & Cards */
.contact-info-card {
  background: linear-gradient(145deg, rgba(15, 27, 54, 0.75), rgba(11, 19, 40, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(145deg, rgba(20, 35, 71, 0.85), rgba(15, 27, 54, 0.98));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.2);
}

.contact-info-icon {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  flex-shrink: 0;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-info-icon svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  fill: currentColor !important;
  flex-shrink: 0;
}

.contact-info-card:hover .contact-info-icon {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(56, 189, 248, 0.25));
  border-color: var(--color-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.contact-info-content h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.contact-info-content p {
  margin: 0;
}

.contact-direct-link {
  color: var(--color-cyan);
  font-weight: 700;
  font-size: 1.05rem;
  transition: color var(--transition-fast);
  display: inline-block;
  word-break: break-all;
}

.contact-direct-link:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* 4. Live USA Clock Widget */
.live-clock-card {
  background: linear-gradient(145deg, rgba(15, 27, 54, 0.75), rgba(11, 19, 40, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.live-clock-time {
  font-family: 'JetBrains Mono', monospace, monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-cyan);
  letter-spacing: 0.5px;
}

/* 5. Fast-Track WhatsApp CTA Card */
.fast-track-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
}

.fast-track-card:hover {
  transform: translateY(-3px);
  border-color: #10b981;
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.2);
}

/* 6. Step-by-Step Discovery Journey */
.discovery-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  position: relative;
}

.discovery-step-card {
  background: linear-gradient(145deg, rgba(15, 27, 54, 0.7), rgba(11, 19, 40, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  position: relative;
  transition: all var(--transition-normal);
}

.discovery-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
}

.discovery-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.discovery-step-time {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-cyan);
  margin-bottom: 6px;
  display: block;
}

.discovery-step-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.discovery-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* 7. Why Reach Out / USA Guarantees Bento Grid */
.contact-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.contact-benefit-card {
  background: rgba(15, 27, 54, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: left;
  transition: all var(--transition-normal);
}

.contact-benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.contact-benefit-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.contact-benefit-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 8. Success State Confirmation Card */
.form-success-card {
  background: linear-gradient(145deg, rgba(15, 27, 54, 0.95), rgba(11, 19, 40, 0.98));
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: none;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10b981;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  fill: #10b981;
}

/* Light Theme Overrides for Contact Page */
html[data-theme="light"] .contact-form-card,
body.theme-light .contact-form-card,
html[data-theme="light"] .form-success-card,
body.theme-light .form-success-card {
  background: #ffffff !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

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

html[data-theme="light"] .form-success-card p,
body.theme-light .form-success-card p {
  color: #334155 !important;
}

html[data-theme="light"] .chip-btn,
body.theme-light .chip-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}

html[data-theme="light"] .chip-btn:hover,
body.theme-light .chip-btn:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
  color: #1d4ed8;
}

html[data-theme="light"] .chip-btn.active,
body.theme-light .chip-btn.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

html[data-theme="light"] .contact-info-card,
body.theme-light .contact-info-card,
html[data-theme="light"] .live-clock-card,
body.theme-light .live-clock-card,
html[data-theme="light"] .discovery-step-card,
body.theme-light .discovery-step-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .contact-info-card:hover,
body.theme-light .contact-info-card:hover,
html[data-theme="light"] .discovery-step-card:hover,
body.theme-light .discovery-step-card:hover {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}

html[data-theme="light"] .contact-info-content h4,
body.theme-light .contact-info-content h4,
html[data-theme="light"] .contact-benefit-title,
body.theme-light .contact-benefit-title,
html[data-theme="light"] .discovery-step-title,
body.theme-light .discovery-step-title,
html[data-theme="light"] .form-section-label,
body.theme-light .form-section-label {
  color: #0f172a;
}

html[data-theme="light"] .contact-direct-link,
body.theme-light .contact-direct-link {
  color: #2563eb;
}

html[data-theme="light"] .contact-benefit-card,
body.theme-light .contact-benefit-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .live-clock-time,
body.theme-light .live-clock-time {
  color: #2563eb;
}

/* Responsive Breakpoints for Contact Page */
@media (max-width: 1024px) {
  .discovery-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .discovery-flow-grid {
    grid-template-columns: 1fr;
  }
  .contact-benefits-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 28px 20px;
  }
  .fast-track-card {
    flex-direction: column;
    text-align: center;
  }
  .fast-track-card .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SERVICE PAGES — MASTER VISUAL SHOWCASE & COMPARISON ENGINE
   ========================================================================== */

/* 1. Service Hero Metrics Strip */
.service-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 40px auto 0 auto;
}

.service-metric-box {
  background: rgba(15, 27, 54, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.service-metric-box:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
}

.service-metric-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.service-metric-label {
  font-size: 0.80rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
}

/* 2. Visual Media Showcase Card & High-Tech Terminal */
.service-media-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(56, 189, 248, 0.15);
  background: #040711;
  transition: all var(--transition-normal);
}

.service-media-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(56, 189, 248, 0.28);
}

.service-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.service-floating-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(6, 11, 25, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 3;
}

/* High-Tech Telemetry Terminal */
.tech-terminal-wrap {
  background: linear-gradient(165deg, rgba(11, 19, 40, 0.95), rgba(4, 8, 20, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(56, 189, 248, 0.15);
  transition: all var(--transition-normal);
}

.tech-terminal-wrap:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(56, 189, 248, 0.25);
  transform: translateY(-4px);
}

.terminal-topbar {
  background: rgba(6, 11, 25, 0.95);
  padding: 12px 18px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.terminal-live-ping {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  color: #10b981;
  font-weight: 700;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 18px;
  background: rgba(11, 19, 40, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.telemetry-stat-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
}

.telemetry-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-cyan);
  font-family: var(--font-mono);
  line-height: 1.2;
}

.telemetry-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.tech-stack-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tech-stack-chip {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.tech-stack-chip:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
}

/* Light Theme Overrides for Tech Terminal */
html[data-theme="light"] .tech-terminal-wrap,
body.theme-light .tech-terminal-wrap {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .terminal-topbar,
body.theme-light .terminal-topbar {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .telemetry-grid,
body.theme-light .telemetry-grid {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .telemetry-stat-chip,
body.theme-light .telemetry-stat-chip {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

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

html[data-theme="light"] .tech-stack-chip,
body.theme-light .tech-stack-chip {
  background: #f1f5f9;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.1);
}

/* 3. Interactive Pillar List */
.service-pillar-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-pillar-item {
  background: linear-gradient(145deg, rgba(15, 27, 54, 0.7), rgba(11, 19, 40, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--transition-normal);
}

.service-pillar-item:hover {
  transform: translateX(6px);
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(145deg, rgba(20, 35, 71, 0.8), rgba(15, 27, 54, 0.95));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.service-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.service-pillar-item:hover .service-pillar-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
}

.service-pillar-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.service-pillar-content h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.service-pillar-content p {
  font-size: 0.90rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* 4. Comparison Cards Matrix */
.comparison-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-box {
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all var(--transition-normal);
}

.comparison-box.bad {
  background: rgba(244, 63, 94, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.comparison-box.good {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08), rgba(56, 189, 248, 0.06));
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.15);
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.comparison-item:last-child {
  margin-bottom: 0;
}

.comparison-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Light Theme Overrides for Service Media Showcases */
html[data-theme="light"] .service-metric-box,
body.theme-light .service-metric-box {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .service-metric-num,
body.theme-light .service-metric-num,
html[data-theme="light"] .service-pillar-content h4,
body.theme-light .service-pillar-content h4 {
  color: #0f172a;
}

html[data-theme="light"] .service-pillar-item,
body.theme-light .service-pillar-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .service-pillar-item:hover,
body.theme-light .service-pillar-item:hover {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

html[data-theme="light"] .comparison-box.bad,
body.theme-light .comparison-box.bad {
  background: #fff1f2;
}

html[data-theme="light"] .comparison-box.good,
body.theme-light .comparison-box.good {
  background: #f0fdf4;
  border-color: rgba(16, 185, 129, 0.4);
}

@media (max-width: 1024px) {
  .service-metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .comparison-box-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-metric-strip {
    grid-template-columns: 1fr;
  }
}

/* --- DEFENSIVE SVG & ACCORDION SYSTEM SAFEGUARDS --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.accordion-header:hover {
  color: var(--color-cyan);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
  max-height: 20px;
  fill: var(--color-cyan);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Footer & Social Icons Safeguard */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  fill: currentColor;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-list li svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  fill: #38bdf8;
  margin-top: 4px;
  flex-shrink: 0;
}

.whatsapp-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.whatsapp-floating-btn svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  fill: currentColor;
}

/* ==========================================================================
   29. RESPONSIVE PROCESS & GRID MASTER OVERRIDES (PERFECT MOBILE & TABLET UX)
   ========================================================================== */

/* Tablet Screens (<= 1024px) */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
  .industry-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
  .coding-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .process-card {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 24px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: var(--radius-md) !important;
  }
  
  .process-card h4 {
    font-size: 1.2rem !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
  }
  
  .process-card p {
    font-size: 0.94rem !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    color: var(--text-muted) !important;
  }
  
  .process-step-badge {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    border-radius: var(--radius-full) !important;
    margin-bottom: 12px !important;
    display: inline-flex !important;
    width: fit-content !important;
  }

  /* Industry Grid Mobile */
  .industry-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .industry-card {
    padding: 20px 14px !important;
  }
  
  /* Coding Grid Mobile */
  .coding-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  /* Portfolio Spotlight Mobile */
  .portfolio-spotlight-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Small Smartphone Screens (<= 480px) */
@media (max-width: 480px) {
  .process-card {
    padding: 20px 16px !important;
  }
  
  .process-card h4 {
    font-size: 1.1rem !important;
  }
  
  .process-card p {
    font-size: 0.9rem !important;
  }
  
  .industry-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   30. QUOTE PAGE RESPONSIVE & MOBILE POLISH SUITE
   ========================================================================== */

.quote-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.quote-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
}

.quote-form-header {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.quote-form-header h2 {
  font-size: 1.45rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.quote-form-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.quote-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quote-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
}

.step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.18);
  color: var(--color-cyan, #38bdf8);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Quote Page Tablet Responsive */
@media (max-width: 1024px) {
  .quote-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
  }
  .quote-form-card {
    padding: 30px 24px;
  }
  .quote-sidebar-card {
    padding: 24px 20px;
  }
}

/* Quote Page Mobile Responsive (Stack Columns & Clean Form) */
@media (max-width: 860px) {
  .quote-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    width: 100% !important;
  }
  
  .quote-form-card {
    width: 100% !important;
    padding: 28px 20px !important;
  }
  
  .quote-sidebar {
    width: 100% !important;
    gap: 20px !important;
  }
}

@media (max-width: 640px) {
  .quote-form-card {
    padding: 22px 16px !important;
  }
  
  .quote-form-header {
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
  }
  
  .quote-form-header h2 {
    font-size: 1.25rem !important;
  }
  
  .quote-form-header p {
    font-size: 0.88rem !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .form-group.full-width {
    grid-column: span 1 !important;
  }

  .form-group {
    margin-bottom: 14px !important;
  }

  .form-control {
    padding: 12px 14px !important;
    font-size: 0.92rem !important;
  }

  .chips-group {
    gap: 8px !important;
  }

  .chip-text {
    padding: 7px 12px !important;
    font-size: 0.82rem !important;
  }
  
  .quote-sidebar-card {
    padding: 22px 16px !important;
  }
}

/* Light Theme Support for Quote Page */
html[data-theme="light"] .quote-form-card,
body.theme-light .quote-form-card,
html[data-theme="light"] .quote-sidebar-card,
body.theme-light .quote-sidebar-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .quote-form-header h2,
body.theme-light .quote-form-header h2 {
  color: #0f172a !important;
}