/* ==========================================================================
   VISHVAX OFFICIAL SERVICES STYLESHEET — WORLD CLASS DEEP COLOR THEME
   Scope: services.html standalone design system & components
   ========================================================================== */

/* --- Design Tokens & Color System --- */
:root {
  /* Brand Core Spectrum */
  --cyan: #00d2ff;
  --cyan-glow: rgba(0, 210, 255, 0.4);
  --electric-blue: #38bdf8;
  --royal-blue: #2563eb;
  --purple: #7c3aed;
  --purple-glow: rgba(124, 58, 237, 0.4);
  --magenta: #ec4899;
  --magenta-glow: rgba(236, 72, 153, 0.4);
  --orange: #f97316;
  --amber: #fbbf24;
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #00d2ff 0%, #7c3aed 45%, #ec4899 75%, #f97316 100%);
  --grad-accent-line: linear-gradient(90deg, #00d2ff 0%, #7c3aed 40%, #ec4899 70%, #f97316 100%);
  --grad-cyan-blue: linear-gradient(135deg, #00d2ff 0%, #2563eb 100%);
  --grad-purple-pink: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --grad-card-border: linear-gradient(135deg, rgba(0, 210, 255, 0.4) 0%, rgba(124, 58, 237, 0.2) 50%, rgba(236, 72, 153, 0.4) 100%);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizing, Radius & Shadows */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --container-max: 1240px;

  /* Transitions & Physics */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s var(--ease-out);
  --transition-smooth: 0.35s var(--ease-out);
  --transition-slow: 0.65s var(--ease-out);
}

/* ==========================================================================
   DEEP MIDNIGHT DARK THEME (DEFAULT / SIGNATURE)
   ========================================================================== */
[data-theme="dark"] {
  --bg-body: #060b18;
  --bg-body-rgb: 6, 11, 24;
  --bg-surface: #0a1329;
  --bg-surface-elevated: #0f1c3d;
  --bg-card: rgba(14, 25, 52, 0.72);
  --bg-card-hover: rgba(20, 36, 74, 0.88);
  --bg-card-inner: rgba(10, 19, 41, 0.6);
  --bg-glass: rgba(10, 19, 41, 0.85);
  --bg-input: #0a1329;

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-hover: rgba(0, 210, 255, 0.45);
  --border-highlight: rgba(0, 210, 255, 0.25);

  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --card-shadow-hover: 0 20px 48px -10px rgba(0, 210, 255, 0.25), 0 0 0 1px rgba(0, 210, 255, 0.5);
  --glow-shadow: 0 0 45px rgba(0, 210, 255, 0.18);

  --hero-grid: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  --badge-bg: rgba(0, 210, 255, 0.08);
  --badge-border: rgba(0, 210, 255, 0.3);
  --badge-text: #38bdf8;
}

/* ==========================================================================
   LIGHT THEME (ACCESSIBILITY COMPLIANT)
   ========================================================================== */
[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-body-rgb: 248, 250, 252;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-card-inner: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-input: #f1f5f9;

  --text-main: #0a1329;
  --text-secondary: #334155;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-medium: rgba(15, 23, 42, 0.15);
  --border-hover: rgba(37, 99, 235, 0.45);
  --border-highlight: rgba(37, 99, 235, 0.25);

  --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --card-shadow-hover: 0 18px 45px -10px rgba(37, 99, 235, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.4);
  --glow-shadow: 0 0 35px rgba(37, 99, 235, 0.12);

  --hero-grid: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  --badge-bg: rgba(37, 99, 235, 0.08);
  --badge-border: rgba(37, 99, 235, 0.25);
  --badge-text: #2563eb;
}

/* ==========================================================================
   GLOBAL RESET & FOUNDATION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body.services-body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

ul {
  list-style: none;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--cyan);
  color: #060b18;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-accent-line);
  z-index: 2000;
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.7);
  transition: width 0.1s linear;
}

/* ==========================================================================
   AMBIENT BACKGROUND CURSOR GLOW (Tracking Circle Disabled)
   ========================================================================== */
.cursor-dot,
.cursor-ring {
  display: none !important;
}

.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, rgba(124, 58, 237, 0.03) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow { opacity: 1; }
}

/* Ambient Background Light Blobs */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.glow-top-right {
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.16) 0%, rgba(124, 58, 237, 0.08) 50%, transparent 75%);
}

.glow-middle-left {
  top: 1400px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14) 0%, rgba(236, 72, 153, 0.07) 50%, transparent 75%);
}

.glow-bottom-center {
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, rgba(37, 99, 235, 0.06) 50%, transparent 75%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

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

/* Section Header Styles */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.section-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse-glow 2s infinite ease-in-out;
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.section-accent-bar {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--grad-brand);
  margin: 14px auto 0 auto;
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.68;
}

/* General Button Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: var(--grad-brand);
  color: #ffffff;
  box-shadow: 0 6px 20px -4px rgba(0, 210, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(0, 210, 255, 0.6), 0 0 20px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0, 210, 255, 0.3);
}

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

.btn-outline:hover {
  border-color: var(--border-hover);
  color: var(--cyan);
}

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

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ==========================================================================
   NAVIGATION BAR (VISHVAX CYBER HEADER)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--border-highlight);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.brand-logo-img {
  width: clamp(42px, 3.6vw, 48px);
  height: clamp(42px, 3.6vw, 48px);
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 2px 10px rgba(0, 210, 255, 0.4));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.06) rotate(2deg);
  filter: drop-shadow(0 4px 16px rgba(0, 210, 255, 0.6));
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--cyan);
  background: rgba(0, 210, 255, 0.1);
  font-weight: 600;
  border-color: rgba(0, 210, 255, 0.25);
}

.nav-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

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

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: rotate(15deg);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
}

.hamburger-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 2500;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  transition: right 0.35s var(--ease-out);
  overflow-y: auto;
}

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

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-close-btn {
  font-size: 1.8rem;
  color: var(--text-muted);
  line-height: 1;
}

.drawer-close-btn:hover {
  color: var(--cyan);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid transparent;
}

.mobile-nav-item a.active,
.mobile-nav-item a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--bg-card-hover);
}

/* ==========================================================================
   SERVICES HERO SECTION
   ========================================================================== */
.services-hero {
  padding: 80px 0 60px 0;
  position: relative;
  background-image: var(--hero-grid);
  background-size: 32px 32px;
}

.services-hero-content {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.services-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.services-hero-desc {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 36px auto;
}

.services-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Metrics Strip */
.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  box-shadow: var(--card-shadow);
}

.metric-item {
  text-align: center;
  padding: 8px 12px;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   SERVICES FILTER & SEARCH INTERACTIVE BAR
   ========================================================================== */
.services-toolbar-section {
  padding: 30px 0 10px 0;
}

.services-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  box-shadow: var(--card-shadow);
}

.filter-pills-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
}

.filter-pill.active {
  background: var(--grad-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35);
}

.services-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  min-width: 260px;
  transition: border-color var(--transition-fast);
}

.services-search-box:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.25);
}

.services-search-box svg {
  width: 16px;
  height: 16px;
  color: var(--text-subtle);
}

.services-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.88rem;
  width: 100%;
}

.services-search-input::placeholder {
  color: var(--text-subtle);
}

/* ==========================================================================
   12 CORE SERVICES GRID & CARDS
   ========================================================================== */
.services-main-section {
  padding: 50px 0 80px 0;
}

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

.service-card-deep {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.service-card-deep::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.service-card-deep:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--card-shadow-hover);
}

.service-card-deep:hover::before {
  opacity: 1;
}

.service-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.service-card-deep:hover .service-icon-box {
  background: var(--grad-brand);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.4);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-number-badge {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-subtle);
  background: var(--bg-surface-elevated);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.service-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.service-title-deep {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.service-card-deep:hover .service-title-deep {
  color: var(--cyan);
}

.service-desc-deep {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 20px;
}

.service-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.service-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.service-bullet-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: var(--cyan);
  margin-top: 2px;
}

.service-card-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.service-learn-btn:hover {
  gap: 12px;
  color: var(--electric-blue);
}

.service-learn-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-learn-btn:hover svg {
  transform: translateX(4px);
}

.service-cta-trigger {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.service-cta-trigger:hover {
  background: var(--grad-brand);
  color: #ffffff;
  border-color: transparent;
}

/* ==========================================================================
   TECHNICAL COMPARISON MATRIX (VISHVAX VS ALTERNATIVES)
   ========================================================================== */
.matrix-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.matrix-table th,
.matrix-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-table th {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  color: var(--text-main);
}

.matrix-table th.col-vishvax {
  background: rgba(0, 210, 255, 0.08);
  color: var(--cyan);
  border-left: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

.matrix-table td.col-vishvax {
  background: rgba(0, 210, 255, 0.04);
  font-weight: 700;
  color: var(--text-main);
  border-left: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.status-badge-positive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.88rem;
}

.status-badge-neutral {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber);
  font-size: 0.88rem;
}

.status-badge-negative {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
  font-size: 0.88rem;
}

/* ==========================================================================
   INTERACTIVE SCOPE & TIMELINE ESTIMATOR
   ========================================================================== */
.estimator-section {
  padding: 80px 0;
}

.estimator-card {
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 44px;
  backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.estimator-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.estimator-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.estimator-btn-option {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-fast);
}

.estimator-btn-option:hover {
  border-color: var(--cyan);
  color: var(--text-main);
}

.estimator-btn-option.selected {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.2);
}

.estimator-results-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.results-top {
  margin-bottom: 24px;
}

.results-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.results-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
}

.timeline-output-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.timeline-output-val {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.timeline-output-unit {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.results-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.results-breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.results-breakdown-item strong {
  color: var(--text-main);
}

/* ==========================================================================
   7-STEP ENGINEERING ROADMAP SECTION
   ========================================================================== */
.roadmap-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.015);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  transition: all var(--transition-smooth);
}

.roadmap-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 12px 30px -10px rgba(0, 210, 255, 0.25);
}

.roadmap-step-pill {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 210, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.roadmap-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.roadmap-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   TECHNICAL ACCORDION FAQ
   ========================================================================== */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-hover);
  box-shadow: 0 8px 25px -10px rgba(0, 210, 255, 0.2);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.faq-toggle-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--cyan);
  color: #060b18;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
  padding: 0 24px;
}

.faq-item.active .faq-answer-panel {
  padding-bottom: 22px;
}

.faq-answer-panel p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ==========================================================================
   FINAL CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 80px 0 100px 0;
}

.cta-banner-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(14, 25, 52, 0.9) 0%, rgba(20, 36, 74, 0.95) 50%, rgba(10, 19, 41, 0.9) 100%);
  border: 1px solid var(--border-medium);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow), var(--glow-shadow);
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-accent-line);
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.cta-banner-desc {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
}

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

/* ==========================================================================
   GLOBAL FOOTER (MATCHING VISHVAX MASTER)
   ========================================================================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px 0;
}

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

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

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

.footer-link:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   MODAL WINDOWS & INQUIRY OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 210, 255, 0.2);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-out);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--cyan);
  color: #060b18;
}

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

.modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

/* Modal Form Elements */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.25);
}

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

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--cyan);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.3);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid-12 {
    grid-template-columns: repeat(2, 1fr);
  }
  .estimator-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav-menu,
  .nav-cta-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .services-grid-12 {
    grid-template-columns: 1fr;
  }
  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-item:nth-child(2)::after {
    display: none;
  }
  .services-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .services-search-box {
    min-width: 100%;
  }
  .estimator-card {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP CONTACT BUTTON
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  width: 56px;
  height: 56px;
  background: #25d366;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 950;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.floating-whatsapp-btn:active {
  transform: scale(0.96) translateY(0);
}

.floating-whatsapp-btn:focus-visible {
  outline: 3px solid #25d366;
  outline-offset: 4px;
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  transition: transform 0.25s ease;
}

.floating-whatsapp-btn:hover svg {
  transform: scale(1.05);
}

.floating-whatsapp-btn .whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .floating-whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
  }
  .floating-whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }
  .floating-whatsapp-btn .whatsapp-tooltip {
    display: none;
  }
}
