/* ========================================================================
   XORVIAN — MNC Enterprise Design System v4.0
   Inspired by: Capgemini | Accenture | Cognizant | TCS | IBM | Deloitte
   ======================================================================== */

/* ------------------------------------------
   1. ROOT VARIABLES — Light & Dark Themes
   ------------------------------------------ */
:root {
  color-scheme: light;
  --brand-ink: #071426;
  --link-color: #1a56db;
/* === Light Theme (Default) === */
  --primary: #0a1628;
  --primary-light: #132144;
  --primary-mid: #1a2d54;

  /* Brand Colors - Premium Corporate */
  --blue: #1a56db;
  --blue-light: #3b82f6;
  --blue-dark: #1e40af;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --electric: #1a56db;
  --accent: #7c3aed;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f1f5f9;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --gray-400: #64748b;
  --gray-500: #475569;
  --gray-600: #334155;
  --gray-700: #1e293b;
  --gray-800: #0f172a;

  /* Semantic */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Background & Text — Light */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --text-muted: #64748b;
  --text-on-dark: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --header-bg: rgba(255, 255, 255, 0.92);
  --footer-bg: #0a1628;
  --footer-text: rgba(255, 255, 255, 0.65);
  --hero-gradient: linear-gradient(135deg, #0a1628 0%, #132144 60%, #1e293b 100%);
  --gradient-1: linear-gradient(135deg, #f8fafc, #f1f5f9);
  --gradient-2: linear-gradient(135deg, #1a56db, #7c3aed);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 10px 25px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.04);
  --shadow-dropdown: 0 20px 35px rgba(15, 23, 42, 0.12), 0 8px 15px rgba(15, 23, 42, 0.06);
  --shadow-header: 0 1px 3px rgba(15, 23, 42, 0.06);
  --backdrop-blur: blur(16px) saturate(180%);
  --navy: #0a1628;
  --navy-light: #1e293b;

  /* Layout */
  --header-height: 72px;
  --max-width: 1200px;
  --max-width-wide: 1400px;

  /* Radius */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-theme: 0.3s ease;

  /* Typography */
  --font-heading: 'Montserrat', 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
}

/* === Dark Theme === */
[data-theme="dark"] {
  color-scheme: dark;
  --brand-ink: #f1f5f9;
  --link-color: #8ab4ff;
  --bg-primary: #0a0f1a;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2236;
  --bg-card: #131d2f;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #a0aec0;
  --text-on-dark: #ffffff;
  --border-color: #1e293b;
  --border-light: #1a2236;
  --header-bg: rgba(10, 15, 26, 0.92);
  --footer-bg: #060a12;
  --footer-text: #a0aec0;
  --hero-gradient: linear-gradient(135deg, #060a12 0%, #0a1628 60%, #111827 100%);
  --gradient-1: linear-gradient(135deg, #111827, #1a2236);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 10px 25px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
  --shadow-dropdown: 0 20px 35px rgba(0, 0, 0, 0.5), 0 8px 15px rgba(0, 0, 0, 0.3);
  --shadow-header: 0 1px 3px rgba(0, 0, 0, 0.3);
  --gray-50: #1a2236;
  --gray-100: #1e293b;
  --gray-200: #334155;
  --gray-300: #475569;
  --gray-400: #64748b;
  --gray-500: #94a3b8;
  --text-muted: #94a3b8;
  --navy: #0a1628;
  --navy-light: #1e293b;
}

/* Theme transition */
.theme-transitioning,
.theme-transitioning * {
  transition: background-color var(--transition-theme),
              color var(--transition-theme),
              border-color var(--transition-theme),
              box-shadow var(--transition-theme) !important;
}

/* ------------------------------------------
   2. RESET & BASE
   ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color var(--transition-theme), color var(--transition-theme);
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; font-size: inherit; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
input, textarea, select {
  color: var(--text-primary);
  background-color: var(--bg-card);
  border-color: var(--border-color);
}
input::placeholder, textarea::placeholder {
  color: var(--text-tertiary);
  opacity: 1;
}
input:focus-visible, textarea:focus-visible, select:focus-visible,
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 3px;
}

::selection { background: var(--blue); color: var(--white); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ------------------------------------------
   3. UTILITY
   ------------------------------------------ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--max-width-wide); margin: 0 auto; padding: 0 24px; }

.section {
  padding: 100px 24px;
}

.section-inner { max-width: var(--max-width); margin: 0 auto; }

.section-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 4px;
  margin-bottom: 20px;
}

/* ------------------------------------------
   4. TOP NAVIGATION — Premium Enterprise
   ------------------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-theme), border-color var(--transition-theme), box-shadow var(--transition-theme);
}

.header.scrolled {
  box-shadow: var(--shadow-header);
}

.header-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo svg {
  width: clamp(150px, 17vw, 220px);
  height: auto;
  display: block;
  color: var(--brand-ink);
}

/* Nav Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.header-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 18px;
  height: 100%;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--link-color);
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 24px);
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
  transition: transform var(--transition);
}

.header-nav-link:hover::after,
.header-nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header-nav-link .arrow {
  font-size: 8px;
  transition: transform var(--transition);
  opacity: 0.5;
}

.header-nav-link:hover .arrow {
  transform: rotate(180deg);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  font-size: 18px;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--border-color);
  color: var(--link-color);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  transform: translateY(0);
  opacity: 1;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  transform: translateY(20px);
  opacity: 0;
}

.theme-toggle .icon-sun {
  transform: translateY(-20px);
  opacity: 0;
}

.theme-toggle .icon-moon {
  transform: translateY(0);
  opacity: 1;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  transform: translateY(0);
  opacity: 1;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  transform: translateY(20px);
  opacity: 0;
}

/* ------------------------------------------
   5. MEGA DROPDOWN MENUS
   ------------------------------------------ */
.mega-dropdown {
  position: absolute;
  top: var(--header-height);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  padding: 28px 32px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
  pointer-events: none;
  min-width: 600px;
  z-index: 1001;
}

.nav-item-hover:hover .mega-dropdown,
.mega-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mega-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.mega-dropdown-item:hover {
  background: var(--bg-secondary);
}

.mega-dropdown-item-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--link-color);
  font-size: 16px;
  flex-shrink: 0;
  transition: background var(--transition);
}

.mega-dropdown-item:hover .mega-dropdown-item-icon {
  background: rgba(26, 86, 219, 0.1);
}

.mega-dropdown-item-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.3;
}

.mega-dropdown-item-text p {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.mega-dropdown-featured {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
  border: 1px solid var(--border-color);
}

.mega-dropdown-featured h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--link-color);
  margin-bottom: 4px;
}

.mega-dropdown-featured p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Simple dropdown for Industries */
.simple-dropdown {
  position: absolute;
  top: var(--header-height);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dropdown);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
  pointer-events: none;
  z-index: 1001;
}

.nav-item-hover:hover .simple-dropdown,
.simple-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.simple-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.simple-dropdown-item:hover {
  background: var(--bg-secondary);
  color: var(--link-color);
}

.simple-dropdown-item i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--text-tertiary);
}

.simple-dropdown-item:hover i {
  color: var(--link-color);
}

.simple-dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 4px 8px;
}

/* Nav item wrapper for positioning */
.nav-item-hover {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-slow);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 998;
  overflow-y: auto;
  padding: 16px 24px 40px;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  border-top: 1px solid var(--border-color);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  transition: color var(--transition);
}

.mobile-menu-link:active { color: var(--link-color); }

.mobile-menu-link i {
  color: var(--text-tertiary);
  font-size: 12px;
  transition: transform var(--transition);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-submenu.open {
  max-height: 500px;
}

.mobile-sub-link {
  display: block;
  padding: 10px 0 10px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition);
}

.mobile-sub-link:last-child { border-bottom: none; }
.mobile-sub-link:active { color: var(--link-color); }

.mobile-menu-cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

/* ------------------------------------------
   6. BUTTONS
   ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(26, 86, 219, 0.2);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
  transform: translateY(-1px);
  color: var(--white);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--link-color);
  color: var(--link-color);
  box-shadow: var(--shadow-card);
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #a0aec0;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--link-color);
  border: 1.5px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: var(--radius-md); }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ------------------------------------------
   7. HERO SECTION — Enterprise Premium
   ------------------------------------------ */
.hero-section {
  position: relative;
  padding: 140px 24px 110px;
  background: var(--hero-gradient);
  color: var(--white);
  overflow: hidden;
  margin-top: var(--header-height);
  transition: background var(--transition-theme);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
  max-width: 750px;
}

.hero-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: #a0aec0;
  font-weight: 500;
}

/* Hero Image / Visual */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ------------------------------------------
   8. CARDS & COMPONENTS
   ------------------------------------------ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--border-color);
}

.card-icon {
  font-size: 28px;
  color: var(--link-color);
  margin-bottom: 16px;
  display: block;
}

.card h4, .card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* Enterprise Service Card */
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.08), rgba(124, 58, 237, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--link-color);
  margin-bottom: 18px;
  transition: all var(--transition);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.12), rgba(124, 58, 237, 0.12));
  transform: scale(1.05);
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.glass-card:hover {
  box-shadow: var(--shadow-card-hover);
}

/* Stat Card */
.stat-card {
  text-align: center;
  padding: 32px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Tag / Pill */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.tag-blue {
  background: rgba(26, 86, 219, 0.08);
  color: var(--link-color);
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-item i {
  color: var(--success);
  margin-top: 3px;
  font-size: 14px;
}

/* ------------------------------------------
   9. FOOTER — Premium
   ------------------------------------------ */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 64px 24px 28px;
  transition: background var(--transition-theme);
}

.footer-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand svg {
  width: 240px;
  height: auto;
  margin-bottom: 16px;
  color: #f1f5f9;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 320px;
  color: #a0aec0;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer a {
  color: #a0aec0;
  font-size: 13px;
  display: block;
  padding: 5px 0;
  transition: color var(--transition);
}

.footer a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #a0aec0;
  padding: 0;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--link-color);
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding-top: 24px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
  padding: 0;
}

.footer-bottom-links a:hover { color: var(--white); }

/* ------------------------------------------
   10. WHATSAPP FAB
   ------------------------------------------ */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 9999;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

/* ------------------------------------------
   11. ANIMATIONS
   ------------------------------------------ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in { animation: fadeIn 0.5s ease forwards; }

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.scale-in { animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Stagger delays */
.stagger-1 { animation-delay: 0.08s; }
.stagger-2 { animation-delay: 0.16s; }
.stagger-3 { animation-delay: 0.24s; }
.stagger-4 { animation-delay: 0.32s; }
.stagger-5 { animation-delay: 0.40s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }

/* Counter */
.counter {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

/* ------------------------------------------
   12. ENTERPRISE GRID PATTERNS
   ------------------------------------------ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ------------------------------------------
   13. RESPONSIVE
   ------------------------------------------ */
@media (max-width: 1200px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 991px) {
  .header-nav { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: block; }
  .header-right .btn { display: none; }
  .header-right .btn-mobile-visible { display: flex; }

  .hero-section h1 { font-size: 40px; }
  .hero-stats { gap: 32px; }

  .section { padding: 80px 20px; }
  .section-title { font-size: 28px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 767px) {
  :root { --header-height: 64px; }

  .header-inner { padding: 0 16px; }

  .hero-section { padding: 120px 16px 70px; }
  .hero-section h1 { font-size: 30px; }
  .hero-section p { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; row-gap: 16px; }
  .hero-stat-value { font-size: 26px; }

  .section { padding: 60px 16px; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 15px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .grid-auto { gap: 16px; }

  .service-card { padding: 24px; }

  .btn-lg { padding: 12px 24px; font-size: 14px; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .whatsapp-fab { width: 48px; height: 48px; font-size: 22px; right: 16px; bottom: 16px; }
}

@media (max-width: 479px) {
  .hero-section h1 { font-size: 26px; }
  .hero-section p { font-size: 15px; }
  .btn { padding: 8px 18px; font-size: 13px; }
  .section { padding: 48px 16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *:not(#brandIntro, #brandIntro *),
  *:not(#brandIntro, #brandIntro *)::before,
  *:not(#brandIntro, #brandIntro *)::after {
    animation-duration: 0.01ms !important; 
    animation-iteration-count: 1 !important; 
    transition-duration: 0.01ms !important; 
  }
  html { scroll-behavior: auto; }
}

