/* ===================================================
   Nexguard IT - Main Stylesheet
   =================================================== */

/* --- Variables --- */
:root {
  --primary: #1a3a6e;
  --primary-dark: #0e2347;
  --primary-light: #2552a0;
  --secondary: #0ea5e9;
  --secondary-dark: #0284c7;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --green: #10b981;
  --dark: #0f172a;
  --text: #334155;
  --text-light: #64748b;
  --light: #f8fafc;
  --light-blue: #eff6ff;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gradient: linear-gradient(135deg, #1a3a6e 0%, #1e5ca8 50%, #0ea5e9 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b, #ef4444);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea, select { font-family: var(--font); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { line-height: 1.75; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-lg { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* --- Section Headers --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(26, 58, 110, 0.1));
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  margin-bottom: 16px;
}

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header .subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin-top: 12px;
}
.section-header.center .subtitle { margin: 12px auto 0; }

.section-title span { color: var(--secondary); }

.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin-top: 16px;
}
.divider.center { margin: 16px auto 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition-fast);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 58, 110, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 58, 110, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}
.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 50, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar.light-nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-text .tagline {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.light-nav .logo-text .name { color: var(--primary); }
.light-nav .logo-text .tagline { color: var(--text-light); }

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

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.light-nav .nav-link { color: var(--text); }

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.light-nav .nav-link:hover,
.light-nav .nav-link.active {
  color: var(--primary);
  background: var(--light-blue);
}

.nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

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

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
  overflow: hidden;
}

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

.dropdown-header {
  background: var(--light-blue);
  padding: 12px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(226,232,240,0.5);
}

.dropdown-item:last-child { border-bottom: none; }

.dropdown-item:hover {
  background: var(--light-blue);
  color: var(--primary);
  padding-left: 26px;
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  background: var(--light-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  font-size: 0.875rem;
}

.dropdown-item:hover .dropdown-icon {
  background: var(--secondary);
  color: var(--white);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.light-nav .hamburger span { background: var(--primary); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(26, 58, 110, 0.3) 0%, transparent 50%),
              radial-gradient(ellipse at 60% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
              linear-gradient(135deg, #0e2347 0%, #1a3a6e 40%, #1a2f5e 70%, #0a1632 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ── Network Animation Canvas ── */
#networkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;   /* lets clicks pass through to hero content */
  z-index: 1;
}

/* Re-enable pointer events so mouse interaction works on canvas area */
.hero:hover #networkCanvas {
  pointer-events: auto;
}

@media (hover: none) {
  /* On touch devices keep pointer-events off to allow normal scroll */
  #networkCanvas { pointer-events: none !important; }
}

/* Ensure hero content and cards sit above the canvas */
.hero .container,
.hero-scroll {
  position: relative;
  z-index: 2;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.6);
  animation: float 8s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 20%; animation-delay: 1s; width: 6px; height: 6px; background: rgba(245, 158, 11, 0.5); }
.particle:nth-child(3) { top: 70%; left: 15%; animation-delay: 2s; }
.particle:nth-child(4) { top: 30%; right: 15%; animation-delay: 0.5s; width: 5px; height: 5px; }
.particle:nth-child(5) { top: 60%; right: 25%; animation-delay: 1.5s; }
.particle:nth-child(6) { top: 80%; right: 10%; animation-delay: 3s; width: 3px; height: 3px; background: rgba(245, 158, 11, 0.4); }
.particle:nth-child(7) { top: 15%; left: 50%; animation-delay: 2.5s; }
.particle:nth-child(8) { top: 85%; left: 60%; animation-delay: 0.8s; width: 5px; height: 5px; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-25px) scale(1.2); opacity: 1; }
}

.hero-circuit {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.07;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .highlight-orange {
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.hero-trust-item i { color: var(--green); font-size: 1rem; }

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-cluster {
  position: relative;
  width: 480px;
  height: 480px;
}

.hero-main-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  animation: heroCardFloat 4s ease-in-out infinite;
}

@keyframes heroCardFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

.card-icon-large {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.hero-main-card h4 { color: white; font-size: 1rem; margin-bottom: 8px; }
.hero-main-card p { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

.uptime-bar {
  margin-top: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  height: 6px;
  overflow: hidden;
}

.uptime-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--green));
  border-radius: 50px;
  width: 99.9%;
  animation: barFill 2s ease 1s both;
}

@keyframes barFill {
  from { width: 0; }
  to { width: 99.9%; }
}

.uptime-label {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.hero-float-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-float-card .info h5 {
  color: white;
  font-size: 0.85rem;
  margin-bottom: 2px;
}
.hero-float-card .info span {
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
}

.float-card-1 {
  top: 12%;
  right: 0;
  animation: floatCard1 3s ease-in-out infinite;
}
.float-card-1 .icon { background: rgba(14, 165, 233, 0.2); color: var(--secondary); }

.float-card-2 {
  bottom: 20%;
  left: 0;
  animation: floatCard2 3.5s ease-in-out infinite;
}
.float-card-2 .icon { background: rgba(16, 185, 129, 0.2); color: var(--green); }

.float-card-3 {
  top: 35%;
  right: -20px;
  animation: floatCard3 4s ease-in-out infinite;
}
.float-card-3 .icon { background: rgba(245, 158, 11, 0.2); color: var(--accent); }

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}
@keyframes floatCard3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: fadeIn 1s ease 1s both;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollBounce 1.5s ease infinite;
}

@keyframes scrollBounce {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ===================================================
   TOP BAR
   =================================================== */
.topbar {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 8px 0;
  font-size: 0.8rem;
}

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

.topbar-left { display: flex; gap: 20px; color: rgba(255,255,255,0.6); }
.topbar-left a { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.6); }
.topbar-left a:hover { color: var(--secondary); }
.topbar-left i { color: var(--secondary); }

/* ===================================================
   STATS SECTION
   =================================================== */
.stats-section {
  background: var(--gradient);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-suffix {
  color: var(--accent);
  font-size: 0.8em;
}

.stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
}

.stat-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  margin-top: 4px;
}

.stats-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

/* ===================================================
   SERVICES SECTION
   =================================================== */
.services-section { background: var(--light); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  group: true;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(14, 165, 233, 0.2);
}

.service-icon-wrap {
  width: 66px;
  height: 66px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.icon-blue { background: linear-gradient(135deg, rgba(26, 58, 110, 0.1), rgba(14, 165, 233, 0.15)); color: var(--primary); }
.icon-sky { background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.15)); color: var(--secondary); }
.icon-green { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.15)); color: var(--green); }
.icon-orange { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.15)); color: var(--accent); }
.icon-purple { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.15)); color: #8b5cf6; }
.icon-red { background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.15)); color: #ef4444; }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text);
}

.service-features li i {
  color: var(--green);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.service-link:hover { color: var(--secondary); gap: 10px; }

/* ===================================================
   WHY CHOOSE US
   =================================================== */
.why-us { background: var(--white); }

.why-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.why-feature {
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.why-feature:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.2);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.why-feature h4 { font-size: 0.95rem; margin-bottom: 6px; }
.why-feature p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }

.why-image-block { position: relative; }

.why-image-main {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.why-image-main::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.why-image-main::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -60px;
  left: -60px;
}

.why-big-number {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  position: relative;
}

.why-image-main h3 { font-size: 1.5rem; color: white; margin-bottom: 12px; }
.why-image-main p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* ===================================================
   PROCESS SECTION
   =================================================== */
.process-section { background: var(--light); }

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

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}

.process-step.active .step-number,
.process-step:hover .step-number {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ===================================================
   INDUSTRIES SECTION
   =================================================== */
.industries { background: var(--white); }

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

.industry-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

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

.industry-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
  transition: var(--transition);
}

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

.industry-card h4 {
  font-size: 0.95rem;
  transition: var(--transition);
}

.industry-card:hover h4 { color: white; }

.industry-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 6px;
  transition: var(--transition);
}

.industry-card:hover p { color: rgba(255,255,255,0.75); }

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  background: var(--dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 58, 110, 0.2) 0%, transparent 70%);
  bottom: -150px;
  left: -80px;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.cta-inner h2 { color: var(--white); }
.cta-inner h2 span { color: var(--secondary); }
.cta-desc { color: rgba(255,255,255,0.65); margin-top: 12px; max-width: 500px; }

.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.cta-note { color: rgba(255,255,255,0.4); font-size: 0.78rem; text-align: center; }

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: #080e1f;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand { max-width: 320px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-desc { font-size: 0.875rem; line-height: 1.75; margin-bottom: 24px; color: rgba(255,255,255,0.55); }

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

.footer-contact-item i { color: var(--secondary); margin-top: 2px; flex-shrink: 0; }

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-links span {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}
.footer-links a::before,
.footer-links span::before {
  content: '›';
  color: var(--secondary);
  font-size: 1.1rem;
  line-height: 1;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ===================================================
   PAGE HERO (inner pages)
   =================================================== */
.page-hero {
  background: var(--gradient);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero-content { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

.page-hero h1 { color: white; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin-top: 16px; font-size: 1.05rem; }

/* ===================================================
   SERVICE DETAIL PAGE
   =================================================== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.service-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.feature-box {
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
}

.feature-box .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.feature-box h4 { font-size: 0.95rem; margin-bottom: 6px; }
.feature-box p { font-size: 0.82rem; color: var(--text-light); }

.service-sidebar { position: sticky; top: 100px; }

.sidebar-cta-card {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: white;
  margin-bottom: 24px;
}

.sidebar-cta-card h3 { color: white; font-size: 1.2rem; margin-bottom: 8px; }
.sidebar-cta-card p { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin-bottom: 24px; }

.sidebar-nav-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sidebar-nav-title {
  background: var(--light);
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.sidebar-nav-item:last-child { border-bottom: none; }

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
  background: var(--light-blue);
  color: var(--primary);
  padding-left: 24px;
}

.sidebar-nav-item i {
  width: 28px;
  height: 28px;
  background: var(--light-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.sidebar-nav-item:hover i,
.sidebar-nav-item.active i {
  background: var(--secondary);
  color: white;
}

/* ===================================================
   ABOUT PAGE
   =================================================== */
.about-story { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-img-block { position: relative; }

.about-img {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}

.about-img::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  bottom: -80px;
  right: -80px;
}

.about-floating-stat {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-floating-stat:first-child { bottom: -20px; left: -20px; }
.about-floating-stat:last-child { top: -20px; right: -20px; }

.about-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-stat-number { font-size: 1.4rem; font-weight: 800; color: var(--dark); }
.about-stat-label { font-size: 0.72rem; color: var(--text-light); }

.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }

.value-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-4px);
}

.value-card .icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h4 { font-size: 0.95rem; margin-bottom: 6px; transition: var(--transition); }
.value-card p { font-size: 0.8rem; color: var(--text-light); transition: var(--transition); }

.value-card:hover h4, .value-card:hover p { color: white; }

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-section { background: var(--light); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }

.contact-info-card {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.contact-info-card h3 { color: white; font-size: 1.5rem; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.contact-method:hover .contact-method-icon { background: var(--accent); }

.contact-method h4 { color: white; font-size: 0.95rem; margin-bottom: 4px; }
.contact-method p, .contact-method a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.contact-method a:hover { color: white; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form-card h3 { margin-bottom: 8px; }
.contact-form-card > p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: 1 / -1; }

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

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

/* ===================================================
   HIGHLIGHT BOXES & MISC
   =================================================== */
.highlight-box {
  background: var(--light-blue);
  border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p { color: var(--primary); font-size: 0.9rem; font-weight: 500; }

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--green), #059669);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

.animate-fadeInUp { animation: fadeInUp 0.6s ease both; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease both; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease both; }
.animate-scaleIn { animation: scaleIn 0.5s ease both; }

[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-left"] { transform: translateX(-30px); }
[data-aos="fade-right"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
  .hero-card-cluster { width: 380px; height: 380px; }
  .why-content { gap: 48px; }
  .service-detail-grid { grid-template-columns: 1fr 320px; }
}

@media (max-width: 992px) {
  .nav-menu, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }

  .hero { text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-divider { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .why-content, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-desc { margin: 0 auto; }
}

@media (max-width: 768px) {
  .section, .section-lg { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-track .testimonial-card { min-width: calc(100% - 0px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .service-features-list { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100vh;
  background: var(--primary-dark);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -10px 0 40px rgba(0,0,0,0.4);
}

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

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-nav-close:hover { background: rgba(255,255,255,0.2); }

.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }

.mobile-nav-link {
  color: rgba(255,255,255,0.85);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  display: block;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(255,255,255,0.08);
  color: white;
}

.mobile-nav-submenu { padding-left: 12px; }

.mobile-nav-submenu .mobile-nav-link {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-submenu .mobile-nav-link::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.mobile-nav-group-title {
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 16px 8px;
}

.mobile-nav-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.mobile-overlay.show { opacity: 1; visibility: visible; }

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
  z-index: 990;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-3px); }

/* ===================================================
   MOBILE OPTIMIZATION & MOTION PREFERENCES
   =================================================== */

/* Respect users who ask for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  #networkCanvas, .hero-particles { display: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* Tablet / phone: lighten the hero for performance & a clean, professional look */
@media (max-width: 768px) {
  /* Heavy decorative animation is disabled on small/touch screens */
  #networkCanvas { display: none !important; }
  .hero-particles { display: none; }

  .hero {
    min-height: auto;
    padding: 104px 0 60px;
  }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-desc { font-size: 1rem; line-height: 1.7; }

  .nav-container { height: 64px; }
  .page-hero { padding: 116px 0 56px; }

  /* Disable lift-on-hover transforms that feel janky on touch */
  .service-card:hover,
  .industry-card:hover,
  .why-feature:hover,
  .value-card:hover,
  .feature-box:hover,
  .about-floating-stat,
  .hero-main-card,
  .hero-float-card { transform: none; }
}

@media (max-width: 520px) {
  .container, .container-wide { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .btn { padding: 13px 24px; font-size: 0.9rem; }
  .btn-lg { padding: 15px 28px; font-size: 0.98rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-header { margin-bottom: 36px; }
  .footer { padding-top: 56px; }
  .footer-bottom { font-size: 0.75rem; }
  .logo-text .name { font-size: 1.05rem; }
}
