/* ═══════════════════════════════════════════════════════════════
   SS TECH UG — Ultra Premium Corporate Website v2.0
   Award-Winning Design System
   ═══════════════════════════════════════════════════════════════ */

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

/* ═══════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════ */
:root {
  /* Brand Colors */
  --primary:        #2563EB;
  --primary-light:  #3B82F6;
  --primary-dark:   #1D4ED8;
  --accent:         #06B6D4;
  --accent-light:   #22D3EE;
  --purple:         #7C3AED;
  --purple-light:   #8B5CF6;
  --success:        #10B981;
  --warning:        #F59E0B;
  --error:          #EF4444;

  /* Dark Theme Surfaces */
  --bg:             #020617;
  --bg-2:           #060d1f;
  --bg-3:           #0b1628;
  --glass:          rgba(255,255,255,0.035);
  --glass-2:        rgba(255,255,255,0.06);
  --glass-border:   rgba(255,255,255,0.07);
  --glass-border-2: rgba(255,255,255,0.12);

  /* Text */
  --text:   #F1F5F9;
  --text-2: #CBD5E1;
  --text-3: #94A3B8;
  --text-4: #475569;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --grad-accent:  linear-gradient(135deg, #06B6D4 0%, #2563EB 100%);
  --grad-hero:    linear-gradient(135deg, #2563EB 0%, #06B6D4 50%, #7C3AED 100%);
  --grad-text:    linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #34D399 100%);

  /* Typography */
  --font:    'Inter', 'Poppins', system-ui, sans-serif;
  --font-ar: 'Cairo', system-ui, sans-serif;

  /* Spacing Scale */
  --s1: 0.25rem; --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem;  --s8: 2rem;    --s10: 2.5rem;
  --s12: 3rem;   --s16: 4rem;   --s20: 5rem;   --s24: 6rem;
  --s32: 8rem;

  /* Radii */
  --r-sm: 0.375rem; --r-md: 0.625rem; --r-lg: 0.875rem;
  --r-xl: 1.25rem;  --r-2xl: 1.75rem; --r-3xl: 2.5rem;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm:    0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --sh-md:    0 4px 16px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
  --sh-lg:    0 16px 48px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.3);
  --sh-xl:    0 32px 80px rgba(0,0,0,0.7);
  --sh-glow:  0 0 50px rgba(37,99,235,0.25), 0 0 100px rgba(37,99,235,0.1);
  --sh-glow-p:0 0 50px rgba(124,58,237,0.25), 0 0 100px rgba(124,58,237,0.1);
  --sh-glow-c:0 0 50px rgba(6,182,212,0.25);

  /* Easing */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out:  cubic-bezier(0.4, 0, 0.2, 1);

  /* Transitions */
  --t1: 0.15s var(--ease);
  --t2: 0.25s var(--ease);
  --t3: 0.35s var(--ease);
  --t4: 0.5s  var(--ease);
  --t5: 0.7s  var(--ease);

  /* Nav */
  --nav-h: 76px;
  --nav-h-s: 62px;
}

/* Light Theme */
[data-theme="light"] {
  --bg:             #F8FAFC;
  --bg-2:           #F1F5F9;
  --bg-3:           #E2E8F0;
  --glass:          rgba(255,255,255,0.72);
  --glass-2:        rgba(255,255,255,0.9);
  --glass-border:   rgba(15,23,42,0.07);
  --glass-border-2: rgba(15,23,42,0.14);
  --text:   #0F172A;
  --text-2: #1E293B;
  --text-3: #475569;
  --text-4: #94A3B8;
  --sh-sm:  0 1px 3px rgba(0,0,0,0.08);
  --sh-md:  0 4px 16px rgba(0,0,0,0.1);
  --sh-lg:  0 16px 48px rgba(0,0,0,0.12);
  --sh-glow:0 0 40px rgba(37,99,235,0.15);
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--t4), color var(--t4);
}

img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: var(--r-sm); }
@media (hover: none) { body { cursor: auto; } button, a { cursor: pointer; } }

/* ═══════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--s8);
}
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 var(--s8); }
.text-center { text-align: center; }
.section { padding: var(--s32) 0; position: relative; overflow: hidden; }

/* ═══════════════════════════════════════
   TYPOGRAPHY SYSTEM
   ═══════════════════════════════════════ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: var(--s4);
  padding: var(--s2) var(--s4);
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--r-full);
}
.section-eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.section-title {
  font-size: clamp(2.1rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: var(--s5);
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-3);
  max-width: 580px;
  margin: 0 auto var(--s16);
  line-height: 1.75;
}

.gradient-text {
  background: var(--grad-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ═══════════════════════════════════════
   GLASS CARD SYSTEM
   ═══════════════════════════════════════ */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform var(--t3), box-shadow var(--t3), border-color var(--t3), background var(--t3);
}
.glass-card:hover {
  background: var(--glass-2);
  border-color: var(--glass-border-2);
  transform: translateY(-5px);
  box-shadow: var(--sh-lg), var(--sh-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ═══════════════════════════════════════
   BUTTON SYSTEM
   ═══════════════════════════════════════ */
/* Primary */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.875rem 2.25rem;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 24px rgba(37,99,235,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform var(--t2), box-shadow var(--t2), opacity var(--t2);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(37,99,235,0.6), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Secondary (glass) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.875rem 2rem;
  background: var(--glass);
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: 1px solid var(--glass-border-2);
  backdrop-filter: blur(12px);
  box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform var(--t2), box-shadow var(--t2), border-color var(--t2), background var(--t2), color var(--t2);
  white-space: nowrap;
}
.btn-secondary:hover { background: var(--glass-2); border-color: var(--primary-light); color: var(--text); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-secondary svg { width: 16px; height: 16px; }

/* Ghost */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.875rem 1.75rem;
  color: var(--text-3);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--r-full);
  border: 1px solid var(--glass-border);
  transition: all var(--t2);
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--text); border-color: var(--glass-border-2); background: var(--glass); }

/* Outline */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: 1.5px solid var(--primary);
  transition: all var(--t2);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--t2);
}
.btn-outline:hover { color: #fff; transform: translateY(-2px); }
.btn-outline:hover::before { opacity: 1; }
.btn-outline span { position: relative; z-index: 1; }

.btn-full { width: 100%; justify-content: center; }

/* Small variants */
.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  padding: 0.5rem 1.25rem;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--r-full);
  box-shadow: 0 2px 12px rgba(37,99,235,0.4);
  transition: transform var(--t2), box-shadow var(--t2);
}
.btn-primary-sm:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(37,99,235,0.6); }

.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  color: var(--text-3);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: var(--r-full);
  border: 1px solid var(--glass-border);
  transition: all var(--t2);
}
.btn-ghost-sm:hover { color: var(--text); border-color: var(--glass-border-2); background: var(--glass); }

/* ═══════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════ */
#cursor {
  position: fixed;
  width: 7px; height: 7px;
  background: var(--primary-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
  mix-blend-mode: screen;
}
#cursorFollower {
  position: fixed;
  width: 30px; height: 30px;
  border: 1.5px solid rgba(59,130,246,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-spring), height 0.2s var(--ease-spring), border-color 0.2s;
  backdrop-filter: blur(1px);
}
@media (hover: none) { #cursor, #cursorFollower { display: none; } }

/* ═══════════════════════════════════════
   SCROLL PROGRESS
   ═══════════════════════════════════════ */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--purple));
  z-index: 10002;
  width: 0%;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px rgba(37,99,235,0.6);
}

/* ═══════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: #020617;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s4);
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { text-align: center; position: relative; z-index: 2; }

.preloader-logo {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin-bottom: var(--s8);
  background: linear-gradient(135deg, #3B82F6, #8B5CF6, #22D3EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradShift 2s ease infinite;
}
.preloader-logo .logo-ug {
  font-size: 1.4rem;
  vertical-align: super;
}

.preloader-bar-track {
  width: 220px; height: 1.5px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-full);
  margin: 0 auto var(--s4);
  overflow: hidden;
}
.preloader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--purple));
  border-radius: var(--r-full);
  width: 0%;
  box-shadow: 0 0 8px rgba(37,99,235,0.6);
}

.preloader-text {
  font-size: 0.7rem;
  color: var(--text-4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.preloader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridBreath 3s ease infinite alternate;
}
@keyframes gridBreath { from { opacity: 0.4; } to { opacity: 1; } }

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: height var(--t3), background var(--t3), box-shadow var(--t3), transform var(--t4);
}
#navbar.scrolled {
  height: var(--nav-h-s);
  background: rgba(2,6,23,0.88);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  box-shadow: 0 1px 0 var(--glass-border), 0 4px 24px rgba(0,0,0,0.4);
}
[data-theme="light"] #navbar.scrolled {
  background: rgba(248,250,252,0.92);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--s8);
  gap: var(--s8);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  transition: transform var(--t3);
}
.nav-logo:hover .logo-icon { transform: scale(1.08) rotate(-3deg); }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.logo-country {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary-light);
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s1);
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: var(--s2) var(--s4);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  border-radius: var(--r-lg);
  transition: all var(--t2);
  white-space: nowrap;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: var(--r-full);
  transition: left var(--t3), right var(--t3);
}
.nav-link:hover { color: var(--text); background: var(--glass); }
.nav-link.active { color: var(--text); }
.nav-link.active::after { left: var(--s4); right: var(--s4); }

/* Mega Menu */
.has-mega { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(6,13,31,0.97);
  backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid var(--glass-border-2);
  border-radius: var(--r-2xl);
  padding: var(--s6) var(--s6);
  display: grid;
  grid-template-columns: repeat(4, 195px);
  gap: var(--s6);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(255,255,255,0.03) inset;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t3), visibility var(--t3), transform var(--t3);
  pointer-events: none;
}
[data-theme="light"] .mega-menu { background: rgba(248,250,252,0.98); }
.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.mega-col { display: flex; flex-direction: column; }
.mega-col h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--glass-border);
}
.mega-col a {
  padding: var(--s2) var(--s3);
  font-size: 0.8rem;
  color: var(--text-3);
  border-radius: var(--r-md);
  transition: all var(--t1);
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.mega-col a::before {
  content: '›';
  color: var(--primary-light);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--t1);
}
.mega-col a:hover {
  color: var(--text);
  background: var(--glass);
  padding-left: var(--s4);
}
.mega-col a:hover::before { opacity: 1; transform: translateX(0); }
.mega-gov h4 { color: var(--warning); }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: var(--s2); flex-shrink: 0; }

.icon-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-lg);
  color: var(--text-3);
  border: 1px solid transparent;
  transition: all var(--t2);
}
.icon-btn:hover { color: var(--text); background: var(--glass); border-color: var(--glass-border); }
.icon-btn svg { width: 17px; height: 17px; }

.lang-btn {
  height: 34px;
  padding: 0 var(--s4);
  border-radius: var(--r-lg);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-3);
  border: 1px solid var(--glass-border);
  transition: all var(--t2);
  letter-spacing: 0.05em;
}
.lang-btn:hover { color: var(--text); border-color: var(--primary); background: rgba(37,99,235,0.08); }

.nav-cta {
  padding: var(--s2) var(--s5);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 2px 16px rgba(37,99,235,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: all var(--t2);
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 24px rgba(37,99,235,0.6); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: var(--s1);
  border-radius: var(--r-md);
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all var(--t3);
  transform-origin: left;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(1px, -1px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(1px, 1px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--s4) var(--s8) var(--s6);
  background: rgba(6,13,31,0.98);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--glass-border);
  gap: var(--s1);
  animation: slideDown 0.25s var(--ease-out);
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: var(--s3) var(--s4);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-3);
  border-radius: var(--r-lg);
  transition: all var(--t1);
}
.mobile-link:hover { color: var(--text); background: var(--glass); }
.mobile-cta {
  margin-top: var(--s2);
  padding: var(--s4);
  background: var(--grad-primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-xl);
  text-align: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  animation: glowFloat 8s ease-in-out infinite;
}
.hero-glow-1 { width: 700px; height: 700px; background: rgba(37,99,235,0.13); top: -200px; left: -150px; animation-delay: 0s; }
.hero-glow-2 { width: 600px; height: 600px; background: rgba(124,58,237,0.1); top: 10%; right: -100px; animation-delay: 3s; }
.hero-glow-3 { width: 500px; height: 500px; background: rgba(6,182,212,0.09); bottom: 0; left: 25%; animation-delay: 6s; }
@keyframes glowFloat { 0%,100%{ transform:scale(1) translateY(0); opacity:0.7; } 50%{ transform:scale(1.12) translateY(-20px); opacity:1; } }

/* Hero Content */
.hero-container {
  position: relative;
  z-index: 2;
  padding-top: var(--s16);
  padding-bottom: var(--s10);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s5);
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary-light);
  margin-bottom: var(--s6);
  box-shadow: 0 0 20px rgba(37,99,235,0.15);
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16,185,129,0.7);
  animation: badgePulse 2s ease infinite;
}
@keyframes badgePulse { 0%,100%{opacity:1; box-shadow: 0 0 8px rgba(16,185,129,0.7);} 50%{opacity:0.5; box-shadow: 0 0 2px rgba(16,185,129,0.3);} }

.hero-headline {
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.045em;
  max-width: 820px;
  margin-bottom: var(--s6);
}
.headline-line { display: block; }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-3);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: var(--s10);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-bottom: var(--s12);
}

/* Hero Stats */
.hero-stats {
  display: inline-flex;
  align-items: center;
  padding: var(--s5) var(--s6);
  background: var(--glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-2);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255,255,255,0.07);
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 0 var(--s6);
  position: relative;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}
.stat-unit { font-size: 1.6rem; font-weight: 900; color: var(--primary-light); line-height: 1; }
.stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-4);
  font-weight: 500;
  margin-top: var(--s2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px; height: 44px;
  background: var(--glass-border);
  flex-shrink: 0;
}

/* Floating Cards */
.floating-cards {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  z-index: 2;
  pointer-events: none;
}
.float-card {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s5);
  background: var(--glass-2);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-2);
  border-radius: var(--r-xl);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  box-shadow: var(--sh-md);
}
.float-card-icon { font-size: 1.1rem; }
.float-card-1 { animation: floatY 7s ease-in-out infinite 0s; }
.float-card-2 { animation: floatY 7s ease-in-out infinite 1.75s; }
.float-card-3 { animation: floatY 7s ease-in-out infinite 3.5s; }
.float-card-4 { animation: floatY 7s ease-in-out infinite 5.25s; }
@keyframes floatY { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }

/* Client Ticker */
.hero-clients { position: relative; z-index: 2; padding: 0 var(--s8); margin-top: auto; padding-bottom: var(--s6); }
.clients-label {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: var(--s4);
}
.clients-ticker {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.ticker-item {
  padding: var(--s3) var(--s8);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-4);
  border-right: 1px solid var(--glass-border);
  white-space: nowrap;
  transition: color var(--t2);
}
.ticker-item:hover { color: var(--text-2); }
@keyframes ticker { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--s6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  z-index: 2;
  animation: fadeInUp 1s ease 2.5s both;
}
.scroll-mouse {
  width: 20px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 7px;
  background: var(--primary-light);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel { 0%,100%{transform:translateY(0);opacity:1;} 60%{transform:translateY(9px);opacity:0;} }
.scroll-indicator span { font-size: 0.6rem; color: var(--text-4); letter-spacing: 0.12em; text-transform: uppercase; }

/* ═══════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
.revealed { opacity: 1 !important; transform: none !important; }
@keyframes fadeInUp { from{opacity:0;transform:translateY(16px);} to{opacity:1;transform:none;} }

/* ═══════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════ */
.about-section { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: var(--s24);
}

.about-body {
  color: var(--text-3);
  line-height: 1.85;
  margin-bottom: var(--s4);
  font-size: 0.95rem;
}

.about-values { margin-top: var(--s8); display: flex; flex-direction: column; gap: var(--s3); }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  transition: all var(--t3);
}
.value-item:hover {
  background: var(--glass-2);
  border-color: rgba(37,99,235,0.25);
  transform: translateX(6px);
  box-shadow: var(--sh-sm), -4px 0 0 var(--primary);
}
.value-icon { font-size: 1.35rem; flex-shrink: 0; margin-top: 2px; }
.value-item h4 { font-size: 0.875rem; font-weight: 700; color: var(--text); margin-bottom: var(--s1); }
.value-item p { font-size: 0.78rem; color: var(--text-4); line-height: 1.6; }

/* About Visual */
.about-visual { position: relative; }
.about-card-stack { position: relative; padding-bottom: var(--s8); padding-right: var(--s8); }
.about-card { padding: var(--s6); }
.about-card-main { position: relative; z-index: 2; }
.about-card-floating {
  position: absolute;
  bottom: 0; right: 0;
  padding: var(--s3) var(--s5);
  z-index: 1;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(124,58,237,0.12));
  border-color: rgba(37,99,235,0.25);
  animation: floatY 5s ease-in-out infinite;
}
.floating-badge-text { font-size: 0.85rem; font-weight: 600; }
.card-header-row { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s6); }
.card-avatar { font-size: 2.25rem; }
.card-header-row h3 { font-size: 1rem; font-weight: 700; }
.card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.25);
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  display: inline-block;
  margin-top: var(--s1);
}
.card-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s2); margin-bottom: var(--s5); }
.cs-item {
  text-align: center;
  padding: var(--s3) var(--s2);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
}
.cs-num { display: block; font-size: 1rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.cs-label { font-size: 0.6rem; color: var(--text-4); }
.card-bar { display: flex; align-items: center; gap: var(--s3); font-size: 0.72rem; color: var(--text-3); }
.bar-track { flex: 1; height: 3px; background: var(--glass-border); border-radius: var(--r-full); overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: var(--r-full); }

/* Timeline */
.timeline { margin-top: var(--s8); }
.timeline-title { font-size: 1.4rem; font-weight: 700; text-align: center; margin-bottom: var(--s8); }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s4);
  position: relative;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(10% + 8px);
  right: calc(10% + 8px);
  height: 1px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--purple) 100%);
}
.timeline-item { text-align: center; }
.timeline-dot {
  width: 14px; height: 14px;
  background: var(--bg-3);
  border: 2px solid var(--primary);
  border-radius: 50%;
  margin: 0 auto var(--s4);
  position: relative; z-index: 1;
  transition: all var(--t3);
}
.timeline-dot.active {
  width: 18px; height: 18px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.25), 0 0 20px rgba(37,99,235,0.5);
  border-color: transparent;
}
.timeline-content { padding: var(--s4); }
.timeline-content.active { border-color: rgba(37,99,235,0.3); box-shadow: var(--sh-glow); }
.timeline-year { font-size: 0.65rem; font-weight: 700; color: var(--primary-light); letter-spacing: 0.1em; display: block; margin-bottom: var(--s1); }
.timeline-content h4 { font-size: 0.78rem; font-weight: 700; margin-bottom: var(--s1); }
.timeline-content p { font-size: 0.68rem; color: var(--text-4); line-height: 1.55; }

/* ═══════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════ */
.services-section {
  background: var(--bg);
  position: relative;
}
.services-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37,99,235,0.05) 0%, transparent 80%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: var(--s5);
  margin-bottom: var(--s10);
}

.service-card {
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--t3);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 46px; height: 46px;
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t3);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--c) 20%, transparent);
}
.service-icon-wrap svg { width: 22px; height: 22px; color: var(--c); transition: transform var(--t3); }
.service-card:hover .service-icon-wrap {
  background: color-mix(in srgb, var(--c) 18%, transparent);
  transform: scale(1.1) rotate(-5deg);
}
.service-card:hover .service-icon-wrap svg { transform: scale(1.1); }

.service-card h3 { font-size: 0.95rem; font-weight: 700; }
.service-card p { font-size: 0.78rem; color: var(--text-4); line-height: 1.65; flex: 1; }
.service-tags { display: flex; gap: var(--s2); flex-wrap: wrap; }
.service-tags span {
  font-size: 0.62rem;
  font-weight: 600;
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.service-link {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: all var(--t2);
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: var(--s1);
}
.service-link::after { content: '›'; font-size: 1rem; transition: transform var(--t2); }
.service-link:hover { color: var(--accent); gap: var(--s2); }
.service-link:hover::after { transform: translateX(3px); }

.services-cta { text-align: center; }

/* ═══════════════════════════════════════
   GOVERNMENT SECTION
   ═══════════════════════════════════════ */
.gov-section {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 60%, var(--bg-2) 100%);
}
.gov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: var(--s5);
  margin-bottom: var(--s12);
}
.gov-card { padding: var(--s6); position: relative; overflow: hidden; cursor: default; }
.gov-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(245,158,11,0.12), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t3);
  pointer-events: none;
}
.gov-card:hover::after { opacity: 1; }
.gov-icon { font-size: 2rem; margin-bottom: var(--s4); display: block; }
.gov-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: var(--s2); }
.gov-card p { font-size: 0.78rem; color: var(--text-4); line-height: 1.65; margin-bottom: var(--s4); }
.gov-features { display: flex; gap: var(--s2); flex-wrap: wrap; }
.gov-features span {
  font-size: 0.62rem;
  font-weight: 600;
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--warning);
  letter-spacing: 0.04em;
}

/* Gov CTA */
.gov-cta-inner {
  padding: var(--s10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s8);
  background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(124,58,237,0.06) 100%);
  border-color: rgba(37,99,235,0.2);
  box-shadow: var(--sh-glow);
}
.gov-cta-content h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: var(--s2); }
.gov-cta-content p { color: var(--text-3); font-size: 0.875rem; }
.gov-cta-actions { display: flex; gap: var(--s4); flex-shrink: 0; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   PRODUCTS SECTION
   ═══════════════════════════════════════ */
.products-section { background: var(--bg-2); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: var(--s6);
}
.product-card { padding: var(--s7, 1.75rem); position: relative; overflow: hidden; cursor: default; }
.product-card.product-featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.09) 0%, rgba(37,99,235,0.07) 100%);
  border-color: rgba(124,58,237,0.28);
  box-shadow: var(--sh-lg), var(--sh-glow-p);
}
.product-badge {
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--badge) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--badge) 28%, transparent);
  color: var(--badge);
  text-transform: uppercase;
  margin-bottom: var(--s4);
}
.product-icon-large { font-size: 2.25rem; margin-bottom: var(--s4); }
.product-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: var(--s2); }
.product-card > p { font-size: 0.78rem; color: var(--text-4); line-height: 1.65; margin-bottom: var(--s5); }
.product-features {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s6);
  padding-top: var(--s4);
  border-top: 1px solid var(--glass-border);
}
.product-features li {
  font-size: 0.775rem;
  color: var(--text-3);
  padding-left: var(--s5);
  position: relative;
  line-height: 1.5;
}
.product-features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 0.72rem;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s4);
  border-top: 1px solid var(--glass-border);
}
.product-clients { font-size: 0.7rem; color: var(--text-4); }
.pricing-popular {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: var(--s1) var(--s5);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   WHY SECTION
   ═══════════════════════════════════════ */
.why-section { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: var(--s5);
}
.why-card { padding: var(--s7, 1.75rem); position: relative; overflow: hidden; cursor: default; }
.why-num {
  position: absolute;
  top: var(--s4); right: var(--s5);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
}
[data-theme="light"] .why-num { color: rgba(0,0,0,0.04); }
.why-icon { font-size: 1.75rem; margin-bottom: var(--s4); }
.why-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: var(--s2); }
.why-card p { font-size: 0.78rem; color: var(--text-4); line-height: 1.65; }

/* ═══════════════════════════════════════
   TECH STACK SECTION
   ═══════════════════════════════════════ */
.tech-section { background: var(--bg-2); }
.tech-categories {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--s5);
}
.tech-cat {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  transition: all var(--t3);
}
.tech-cat:hover { border-color: var(--glass-border-2); transform: translateY(-4px); box-shadow: var(--sh-md); }
.tech-cat h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: var(--s5);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--glass-border);
}
.tech-logos { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--s3); }
.tech-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  padding: var(--s4) var(--s2);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all var(--t2);
  cursor: default;
}
.tech-logo-item:hover {
  background: var(--glass-2);
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-3px);
  box-shadow: var(--sh-sm), var(--sh-glow);
}
.tech-logo-item span { font-size: 1.35rem; }
.tech-logo-item small { font-size: 0.62rem; color: var(--text-4); font-weight: 600; letter-spacing: 0.04em; }

/* ═══════════════════════════════════════
   PORTFOLIO SECTION
   ═══════════════════════════════════════ */
.portfolio-section { background: var(--bg); }
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-bottom: var(--s10);
}
.filter-btn {
  padding: var(--s2) var(--s5);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
  border-radius: var(--r-full);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  transition: all var(--t2);
  letter-spacing: 0.03em;
}
.filter-btn:hover { color: var(--text); border-color: var(--glass-border-2); background: var(--glass-2); }
.filter-btn.active { color: #fff; background: var(--grad-primary); border-color: transparent; box-shadow: 0 4px 16px rgba(37,99,235,0.4); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--s5);
}
.portfolio-item {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: transform var(--t3), box-shadow var(--t3);
}
.portfolio-item:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.portfolio-item.hidden { display: none; }
.portfolio-visual {
  font-size: 3.5rem;
  transition: transform var(--t4), filter var(--t4);
  position: relative; z-index: 1;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.93), rgba(124,58,237,0.93));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--s6);
  opacity: 0;
  transition: opacity var(--t3);
  z-index: 2;
  backdrop-filter: blur(4px);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-visual { transform: scale(1.15); filter: blur(6px); }
.portfolio-cat { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: var(--s1); }
.portfolio-overlay h3 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: var(--s1); }
.portfolio-overlay p { font-size: 0.72rem; color: rgba(255,255,255,0.75); }

/* ═══════════════════════════════════════
   PROCESS SECTION
   ═══════════════════════════════════════ */
.process-section { background: var(--bg-2); }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: var(--s4);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.process-steps::-webkit-scrollbar { display: none; }
.process-step {
  flex: 1;
  min-width: 145px;
  text-align: center;
  padding: var(--s6) var(--s4);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  transition: all var(--t3);
  cursor: default;
}
.process-step:hover { background: var(--glass-2); border-color: rgba(37,99,235,0.25); transform: translateY(-6px); box-shadow: var(--sh-md), var(--sh-glow); }
.step-num { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; color: var(--primary-light); margin-bottom: var(--s2); }
.step-icon { font-size: 1.6rem; margin-bottom: var(--s3); }
.process-step h3 { font-size: 0.825rem; font-weight: 700; margin-bottom: var(--s2); }
.process-step p { font-size: 0.7rem; color: var(--text-4); line-height: 1.55; }
.process-arrow {
  padding: 0 var(--s2);
  color: var(--primary-light);
  font-size: 1.1rem;
  flex-shrink: 0;
  align-self: center;
  margin-top: -var(--s8);
  opacity: 0.5;
}

/* ═══════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════ */
.testimonials-section { background: var(--bg); }
.testimonials-carousel { overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: var(--s5);
  transition: transform 0.55s var(--ease-in-out);
}
.testi-card {
  min-width: calc(33.333% - 1rem);
  padding: var(--s8);
  flex-shrink: 0;
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: var(--s4);
  right: var(--s6);
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
}
.testi-stars { color: var(--warning); font-size: 0.875rem; letter-spacing: 2px; margin-bottom: var(--s4); }
.testi-text {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--s6);
  position: relative;
  z-index: 1;
}
.testi-author { display: flex; align-items: center; gap: var(--s4); }
.testi-avatar {
  width: 42px; height: 42px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}
.testi-author strong { display: block; font-size: 0.825rem; font-weight: 700; }
.testi-author span { font-size: 0.7rem; color: var(--text-4); }

.testi-controls { display: flex; align-items: center; justify-content: center; gap: var(--s4); margin-top: var(--s8); }
.testi-prev, .testi-next {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--glass-border-2);
  background: var(--glass);
  color: var(--text);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t2);
}
.testi-prev:hover, .testi-next:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.08); box-shadow: 0 4px 16px rgba(37,99,235,0.5); }
.testi-dots { display: flex; gap: var(--s2); }
.testi-dot { width: 6px; height: 6px; border-radius: 3px; background: var(--glass-border-2); transition: all var(--t3); cursor: pointer; }
.testi-dot.active { background: var(--primary); width: 20px; box-shadow: 0 0 8px rgba(37,99,235,0.5); }

/* ═══════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════ */
.pricing-section { background: var(--bg-2); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--s6);
  align-items: start;
}
.pricing-card { padding: var(--s8); text-align: center; position: relative; overflow: hidden; cursor: default; }
.pricing-card.pricing-featured {
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(124,58,237,0.08) 100%);
  border-color: rgba(37,99,235,0.28);
  transform: scale(1.04);
  box-shadow: var(--sh-lg), var(--sh-glow);
}
.pricing-tier { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-4); margin-bottom: var(--s5); }
.pricing-icon { font-size: 2.5rem; margin-bottom: var(--s5); }
.pricing-price { margin-bottom: var(--s6); }
.price-from { font-size: 0.75rem; color: var(--text-4); display: block; margin-bottom: var(--s1); }
.price-amount {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-custom { font-size: 1.75rem; font-weight: 800; color: var(--text); }
.pricing-features { text-align: left; margin-bottom: var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.pricing-features li { font-size: 0.8rem; color: var(--text-3); padding-left: var(--s5); position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ═══════════════════════════════════════
   BLOG SECTION
   ═══════════════════════════════════════ */
.blog-section { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s6); }
.blog-card { padding: var(--s7, 1.75rem); display: flex; flex-direction: column; cursor: default; }
.blog-category { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-light); margin-bottom: var(--s4); }
.blog-icon-large { font-size: 1.75rem; margin-bottom: var(--s4); }
.blog-card h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.45; margin-bottom: var(--s3); }
.blog-card p { font-size: 0.78rem; color: var(--text-4); line-height: 1.7; margin-bottom: var(--s5); flex: 1; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--glass-border); }
.blog-meta span { font-size: 0.68rem; color: var(--text-4); }
.blog-link { font-size: 0.775rem; font-weight: 600; color: var(--primary-light); transition: color var(--t2); }
.blog-link:hover { color: var(--accent); }

/* ═══════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════ */
.contact-section { background: var(--bg-2); }
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(37,99,235,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(124,58,237,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--s8); align-items: start; }

.contact-info-card { padding: var(--s7, 1.75rem); }
.contact-info-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: var(--s6); }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  padding: var(--s3) var(--s4);
  border-radius: var(--r-lg);
  transition: all var(--t2);
  margin-bottom: var(--s2);
  color: inherit;
}
.contact-item:hover { background: var(--glass); }
.contact-item-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.contact-item-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); display: block; margin-bottom: var(--s1); }
.contact-item-value { font-size: 0.85rem; color: var(--text-2); font-weight: 500; }

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--r-full);
  margin: var(--s5) 0;
  transition: all var(--t2);
  width: fit-content;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.whatsapp-btn:hover { background: #1DAF5A; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.5); }
.whatsapp-btn svg { width: 18px; height: 18px; }

.map-placeholder {
  height: 140px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--s4);
  overflow: hidden;
  position: relative;
}
.map-inner { text-align: center; }
.map-inner span { font-size: 1.75rem; }
.map-inner p { font-size: 0.825rem; font-weight: 600; color: var(--text-2); margin-top: var(--s2); }
.map-inner small { font-size: 0.72rem; color: var(--text-4); }

/* Contact Form */
.contact-form { padding: var(--s7, 1.75rem); }
.contact-form h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: var(--s6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-group { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s4); }
.form-group label { font-size: 0.72rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.03em; }
.form-group input, .form-group select, .form-group textarea {
  padding: var(--s3) var(--s4);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  color: var(--text);
  font-size: 0.85rem;
  transition: all var(--t2);
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--glass-2);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-4); }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; padding-right: 36px; }
.form-group select option { background: var(--bg-2); }

.form-success {
  display: none;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--r-lg);
  margin-top: var(--s4);
}
.form-success.show { display: flex; animation: fadeInUp 0.4s ease; }
.form-success span { font-size: 1.1rem; }
.form-success p { font-size: 0.85rem; color: var(--success); }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
#footer {
  background: var(--bg-3);
  border-top: 1px solid var(--glass-border);
}
.footer-top { padding: var(--s20) 0 var(--s16); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s8);
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.footer-tagline { font-size: 0.8rem; color: var(--text-4); line-height: 1.75; margin-bottom: var(--s5); }
.footer-contact-quick { display: flex; flex-direction: column; gap: var(--s2); }
.footer-contact-quick a, .footer-contact-quick span { font-size: 0.78rem; color: var(--text-4); transition: color var(--t2); }
.footer-contact-quick a:hover { color: var(--primary-light); }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: var(--s5); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--s3); }
.footer-col a { font-size: 0.78rem; color: var(--text-4); transition: all var(--t2); }
.footer-col a:hover { color: var(--text); padding-left: var(--s2); }

.newsletter-form { display: flex; gap: var(--s2); margin-bottom: var(--s4); }
.newsletter-form input {
  flex: 1;
  padding: var(--s3) var(--s4);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  color: var(--text);
  font-size: 0.8rem;
  transition: all var(--t2);
}
.newsletter-form input:focus { outline: none; border-color: var(--primary); }
.newsletter-form button {
  padding: var(--s3) var(--s4);
  background: var(--grad-primary);
  color: #fff;
  border-radius: var(--r-lg);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all var(--t2);
  box-shadow: 0 2px 12px rgba(37,99,235,0.4);
}
.newsletter-form button:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(37,99,235,0.6); }
.footer-newsletter p { font-size: 0.78rem; color: var(--text-4); margin-bottom: var(--s4); line-height: 1.6; }

.footer-social { display: flex; gap: var(--s2); margin-top: var(--s5); }
.social-btn {
  width: 32px; height: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  color: var(--text-3);
  transition: all var(--t2);
}
.social-btn:hover { background: var(--grad-primary); border-color: transparent; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,99,235,0.4); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: var(--s5) 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s2); }
.footer-bottom p { font-size: 0.75rem; color: var(--text-4); }

/* ═══════════════════════════════════════
   FLOATING ELEMENTS
   ═══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem; right: var(--s6);
  width: 50px; height: 50px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all var(--t2);
}
.whatsapp-float:hover { transform: scale(1.1); background: #1DAF5A; box-shadow: 0 8px 28px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 25px; height: 25px; }
.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:0.7;} 100%{transform:scale(1.6);opacity:0;} }

.back-to-top {
  position: fixed;
  bottom: var(--s6); right: var(--s6);
  width: 38px; height: 38px;
  background: var(--glass-2);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-2);
  border-radius: 50%;
  color: var(--text);
  font-size: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: all var(--t3);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37,99,235,0.5); }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: var(--s6); left: var(--s6);
  max-width: 350px;
  padding: var(--s5);
  z-index: 900;
  transform: translateY(160%);
  transition: transform 0.55s var(--ease-spring);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.78rem; color: var(--text-3); line-height: 1.6; margin-bottom: var(--s4); }
.cookie-banner a { color: var(--primary-light); }
.cookie-actions { display: flex; gap: var(--s3); }

/* ═══════════════════════════════════════
   SECTION EYEBROW WRAPPER
   ═══════════════════════════════════════ */
.section-header { margin-bottom: var(--s16); }
.section-header.centered { text-align: center; }
.section-header.centered .section-eyebrow { margin: 0 auto var(--s4); }
.section-header.centered .section-subtitle { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .tech-categories { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .about-grid { gap: 3rem; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card-floating { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .floating-cards { display: none; }
  .testi-card { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--s16) 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.pricing-featured { transform: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 var(--s5); }
  .hero-stats { flex-direction: column; gap: var(--s3); width: 100%; }
  .stat-item { padding: var(--s2) 0; }
  .stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .hero-cta-group > * { width: 100%; justify-content: center; }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   MOUSE GLOW ON CARDS
   ═══════════════════════════════════════ */
.service-card, .product-card, .why-card, .gov-card {
  --mx: 50%; --my: 50%;
  isolation: isolate;
}
.service-card > *:not(::before):not(::after),
.product-card > *:not(::before):not(::after),
.why-card > *:not(::before):not(::after),
.gov-card > *:not(::before):not(::after) {
  position: relative; z-index: 1;
}
