/* ================================================================
   CROWNSTONELABS.COM — Main Stylesheet
   Design: Dark Navy + Electric Blue + White
================================================================ */

/* ----------------------------------------------------------------
   CSS Custom Properties
---------------------------------------------------------------- */
:root {
  --primary:      #1D4ED8;
  --primary-dark: #1E3A8A;
  --accent:       #3B82F6;
  --accent-light: #60A5FA;
  --navy:         #0A1628;
  --navy-mid:     #0F2040;
  --navy-light:   #1A2F50;
  --slate:        #334155;
  --slate-mid:    #475569;
  --slate-light:  #94A3B8;
  --border:       #1E3A5F;
  --border-light: #E2E8F0;
  --white:        #FFFFFF;
  --off-white:    #F8FAFC;
  --text-primary: #0F172A;
  --text-second:  #475569;

  --purple:  #8B5CF6;
  --teal:    #0D9488;
  --green:   #10B981;
  --orange:  #F59E0B;
  --indigo:  #6366F1;
  --red:     #EF4444;

  --radius-sm: 8px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 14px rgba(15,23,42,.08);
  --shadow-lg: 0 16px 36px rgba(15,23,42,.12);
  --shadow-xl: 0 28px 64px rgba(15,23,42,.16);
  --glow:      0 0 40px rgba(59,130,246,.25);

  --transition: .2s ease;
  --transition-slow: .4s ease;

  --container: 1240px;
  --header-h:  72px;
}

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

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

body {
  font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--off-white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Ensure pointer cursor on ALL interactive elements */
a, button, [role="button"], select,
.service-card, .product-card, .testimonial-card,
.insight-card, .value-card, .office-card, .team-card,
.social-link, .stb-item, .nav-link, .dropdown-item,
.scroll-top, .hamburger { cursor: pointer; }

@media (hover: none) {
  body, a, button, [role="button"], select { cursor: auto; }
}

/* ----------------------------------------------------------------
   Container
---------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------------
   Typography
---------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--text-second); line-height: 1.75; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #2563EB 55%, #0D9488 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: none;
}
@keyframes gradShift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* ----------------------------------------------------------------
   Buttons
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-lg { padding: 14px 30px; font-size: 1rem; border-radius: var(--radius); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(29,78,216,.18);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(29,78,216,.22);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-ghost {
  color: var(--slate);
  background: rgba(255,255,255,.08);
  border: 1.5px solid transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.2); }

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* ----------------------------------------------------------------
   Section Helpers
---------------------------------------------------------------- */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(59,130,246,.1);
  color: var(--accent);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; }

/* ----------------------------------------------------------------
   HEADER
---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(6, 14, 28, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(8, 18, 36, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 24px rgba(0,0,0,.4);
}

/* Header: 3-column grid so nav is always at the true page center */
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0 40px;
}

.header-inner .logo       { grid-column: 1; justify-self: start; margin-right: 0; }
.header-inner .main-nav   { grid-column: 2; }
.header-inner .header-cta { grid-column: 3; justify-self: end; margin-left: 0; }
.header-inner .hamburger  { grid-column: 3; justify-self: end; }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -.02em;
  transition: color 0.3s ease;
}
.logo-accent { color: var(--accent-light); }
.logo:hover .logo-text {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #34D399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo:hover .logo-accent {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav */
.main-nav { }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--white); background: rgba(255,255,255,.08); }
.chevron { opacity: .6; transition: transform var(--transition); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 340px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: var(--shadow-lg);
}
/* Wide mega-menu */
.dropdown-wide {
  min-width: 780px;
  left: 50%;
  padding: 12px;
}
.dropdown-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.dropdown-col-group { padding: 4px 4px 8px; }
.dropdown-group-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding: 4px 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 4px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .chevron { transform: rotate(180deg); }
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.8);
  transition: background var(--transition);
}
.dropdown-item:hover { background: rgba(59,130,246,.1); color: var(--white); }
.dropdown-item strong { display: block; font-size: .84rem; margin-bottom: 1px; color: var(--white); }
.dropdown-item small { font-size: .74rem; color: var(--slate-light); }
.di-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(59,130,246,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-light);
}

.header-cta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  transform: translateY(-110%);
  transition: transform .3s ease;
  z-index: 999;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 10px 12px;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background var(--transition);
}
.mobile-nav a:hover { background: rgba(255,255,255,.08); color: var(--white); }

/* ----------------------------------------------------------------
   HERO
---------------------------------------------------------------- */
/* ================================================================
   HERO — Centered fullscreen design
================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07111F;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Central radial glow — the atmospheric "light source" */
.hero-glow {
  position: absolute;
  top: 38%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px; height: 1100px;
  background: radial-gradient(circle,
    rgba(59,130,246,.18) 0%,
    rgba(13,148,136,.08) 28%,
    rgba(59,130,246,.04) 55%,
    transparent 70%);
  pointer-events: none;
  animation: glowBreath 8s ease-in-out infinite alternate;
}
@keyframes glowBreath {
  from { opacity: .85; transform: translate(-50%,-50%) scale(.97); }
  to   { opacity: 1;   transform: translate(-50%,-50%) scale(1.03); }
}
.hero-glow-2 {
  top: 80%; left: 18%;
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(20,184,166,.10) 0%, rgba(59,130,246,.05) 40%, transparent 65%);
  animation: glowBreath 11s ease-in-out 3s infinite alternate-reverse;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 100%);
}

/* ---- Hero network constellation ---- */
#hero-network {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: .9;
}
.net-lines line {
  stroke: rgba(59,130,246,.22);
  stroke-width: .7;
  stroke-dasharray: 5 9;
  animation: netFlow 4s linear infinite;
}
.net-lines line:nth-child(3n)   { stroke: rgba(99,102,241,.18); animation-duration: 5.5s; }
.net-lines line:nth-child(5n)   { stroke: rgba(139,92,246,.14); animation-duration: 3.5s; }
@keyframes netFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -56; }
}
.net-nodes circle {
  fill: rgba(96,165,250,.85);
  animation: nodePulse 3s ease-in-out infinite alternate;
}
.net-nodes circle:nth-child(3n) { fill: rgba(129,140,248,.8); }
.net-nodes circle:nth-child(5n) { fill: rgba(167,139,250,.8); }
@keyframes nodePulse {
  from { opacity: .2; }
  to   { opacity: .95; }
}
.net-ring {
  fill: none !important;
  stroke: rgba(59,130,246,.3) !important;
  stroke-width: .9 !important;
  animation: ringPulse 3s ease-in-out infinite alternate !important;
}
.net-ring:nth-of-type(even) {
  animation-duration: 4.2s !important;
  animation-direction: alternate-reverse !important;
}
@keyframes ringPulse {
  0%   { opacity: .6; stroke-width: 1.2; }
  100% { opacity: .05; stroke-width: .2; }
}
@media (max-width: 768px) { #hero-network { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { #hero-network { display: none; } }

/* ---- Centered hero content ---- */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 100px;
  max-width: 980px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,.25); }
  50%       { box-shadow: 0 0 0 7px rgba(16,185,129,.08); }
}

.hero-title {
  color: var(--white);
  font-size: clamp(3.2rem, 6.8vw, 7.4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: 0;
  margin-bottom: 32px;
}
.ht-line { display: block; }
.ht-dim  { color: rgba(255,255,255,.62); font-weight: 400; letter-spacing: 0; font-size: .82em; }
.ht-bold { font-weight: 800; letter-spacing: 0; }
.hero-subtitle {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal .7s cubic-bezier(.22,1,.36,1) .65s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}
.hero-actions .btn-ghost {
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.18);
}
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--white); }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 40px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.stat-plus { color: var(--accent-light); font-size: 1.1rem; }
.stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,.1); }



@keyframes float {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-9px); }
}

/* Dashboard (hidden, kept for JS) */
.dashboard-mockup { display: none; }

/* scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.28);
  font-size: .73rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1.8s both;
}
.scroll-arrow {
  width: 20px; height: 32px;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 10px;
  position: relative;
}
.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0%   { transform: translateX(-50%) translateY(0);    opacity: 1; }
  100% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

/* ----------------------------------------------------------------
   PARTNERS STRIP
---------------------------------------------------------------- */
.partners-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0 32px;
  position: relative;
  z-index: 1;
  box-shadow: 0 -12px 40px rgba(4,8,15,.35);
}
.partners-label {
  text-align: center;
  font-size: .72rem;
  color: var(--slate-mid);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: 24px;
  padding: 0 24px;
}
.partners-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.partners-inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.partners-inner:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partner-logo {
  padding: 8px 32px;
  flex-shrink: 0;
  border-right: 1px solid var(--border-light);
  transition: opacity var(--transition);
}
.partner-logo:last-child { border-right: none; }
.partner-logo:hover { opacity: 1; }
.pl-name {
  font-size: .92rem;
  font-weight: 700;
  color: var(--slate-light);
  letter-spacing: -.01em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color var(--transition);
  white-space: nowrap;
}
.partner-logo:hover .pl-name { color: var(--primary); }

/* ----------------------------------------------------------------
   STATS BAND
---------------------------------------------------------------- */
.stats-band {
  background: linear-gradient(135deg, #04080F 0%, #0A1628 60%, #04080F 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.stats-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.sb-stat {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal .6s cubic-bezier(.22,1,.36,1) var(--delay,.1s) forwards;
  animation-play-state: paused;
}
.sb-num {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(135deg, var(--accent) 0%, #818CF8 60%, #A78BFA 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}
.sb-num sup {
  font-size: .55em;
  font-weight: 800;
  vertical-align: super;
  background: linear-gradient(135deg, #60A5FA 0%, #818CF8 60%, #A78BFA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sb-label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
}
@media (max-width: 768px) {
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ----------------------------------------------------------------
   SERVICES OVERVIEW
---------------------------------------------------------------- */
.services-overview { background: var(--off-white); }

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

.service-card {
  display: block;
  padding: 32px;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition);
  z-index: 1;
}
.service-card::after {
  content: attr(data-num);
  position: absolute;
  bottom: -14px; right: -6px;
  font-size: 7.5rem;
  font-weight: 900;
  line-height: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: rgba(59,130,246,.095);
  pointer-events: none;
  user-select: none;
  transition: color var(--transition-slow);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { background: linear-gradient(90deg, var(--accent), var(--purple)); }
.service-card:hover::after  { color: rgba(59,130,246,.09); }

.sc-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.sc-blue   { background: rgba(59,130,246,.1); color: var(--accent); }
.sc-purple { background: rgba(139,92,246,.1); color: var(--purple); }
.sc-teal   { background: rgba(13,148,136,.1); color: var(--teal); }
.sc-orange { background: rgba(245,158,11,.1); color: var(--orange); }
.sc-indigo { background: rgba(99,102,241,.1); color: var(--indigo); }
.sc-green  { background: rgba(16,185,129,.1); color: var(--green); }

.service-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service-card p { font-size: .9rem; margin-bottom: 16px; }
.sc-list { margin-bottom: 20px; }
.sc-list li {
  font-size: .85rem;
  color: var(--text-second);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.sc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.sc-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition);
}

/* ----------------------------------------------------------------
   PRODUCTS
---------------------------------------------------------------- */
.products-section {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.products-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.products-section .section-header { position: relative; z-index: 1; }
.products-section .section-tag { background: rgba(59,130,246,.1); color: var(--accent); }
.products-section .section-title { color: var(--text-primary); }
.products-section .section-desc { color: var(--text-second); }

.products-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.product-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.product-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(59,130,246,.04) 0%, var(--white) 60%);
  box-shadow: 0 0 0 3px rgba(59,130,246,.1), var(--shadow);
}

.pc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pc-logo {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.crown-cloud   { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.crown-secure  { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.crown-insight { background: linear-gradient(135deg, #0D9488, #0F766E); }

.pc-badge {
  padding: 4px 10px;
  background: rgba(245,158,11,.15);
  color: var(--orange);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
}

.pc-name {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.pc-tagline {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.pc-desc {
  font-size: .9rem;
  color: var(--text-second);
  margin-bottom: 20px;
}
.pc-features {
  margin-bottom: 28px;
}
.pc-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-second);
  padding: 5px 0;
}
.pf-check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.pc-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ----------------------------------------------------------------
   WHY SECTION
---------------------------------------------------------------- */
.why-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(59,130,246,.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(139,92,246,.04) 0%, transparent 50%);
  pointer-events: none;
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}
.why-content .section-tag { display: inline-block; margin-bottom: 16px; }
.why-content .section-title { margin-bottom: 14px; }
.why-content .section-desc { margin-bottom: 36px; }

/* ---- Pillars ---- */
.why-pillars { display: flex; flex-direction: column; gap: 0; }

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all var(--transition-slow);
  position: relative;
  cursor: default;
}
.pillar::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  border-radius: 3px;
  background: transparent;
  transition: background var(--transition);
}
.pillar:hover {
  background: rgba(59,130,246,.04);
  border-color: rgba(59,130,246,.1);
  transform: translateX(4px);
}
.pillar:hover::before { background: var(--accent); }

.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.pillar:hover .pillar-icon { transform: scale(1.1); }

.pi-blue   { background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(29,78,216,.08)); color: var(--accent); border: 1px solid rgba(59,130,246,.2); }
.pi-purple { background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(109,40,217,.08)); color: var(--purple); border: 1px solid rgba(139,92,246,.2); }
.pi-teal   { background: linear-gradient(135deg, rgba(13,148,136,.15), rgba(15,118,110,.08)); color: var(--teal); border: 1px solid rgba(13,148,136,.2); }
.pi-orange { background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(217,119,6,.08)); color: var(--orange); border: 1px solid rgba(245,158,11,.2); }

.pillar-body { flex: 1; min-width: 0; }
.pillar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.pillar h4 { font-size: .95rem; font-weight: 700; color: var(--text-primary); }
.pillar p  { font-size: .85rem; line-height: 1.65; color: var(--text-second); }
.pillar-arrow {
  color: var(--slate-light);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition);
}
.pillar:hover .pillar-arrow { opacity: 1; transform: translateX(0); color: var(--accent); }

/* ---- Cert cards ---- */
.cert-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }

.cert-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.cert-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: transparent;
  transition: background var(--transition);
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.1);
  border-color: rgba(59,130,246,.15);
}
.cert-card:nth-child(1):hover::after { background: linear-gradient(90deg,#3B82F6,#60A5FA); }
.cert-card:nth-child(2):hover::after { background: linear-gradient(90deg,#8B5CF6,#A78BFA); }
.cert-card:nth-child(3):hover::after { background: linear-gradient(90deg,#0D9488,#2DD4BF); }
.cert-card:nth-child(4):hover::after { background: linear-gradient(90deg,#F59E0B,#FCD34D); }

.cert-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cert-blue   { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); box-shadow: 0 4px 14px rgba(59,130,246,.35); }
.cert-purple { background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); box-shadow: 0 4px 14px rgba(139,92,246,.35); }
.cert-teal   { background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%); box-shadow: 0 4px 14px rgba(13,148,136,.35); }
.cert-orange { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); box-shadow: 0 4px 14px rgba(245,158,11,.35); }

.cert-text strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.cert-text span { font-size: .76rem; color: var(--text-second); line-height: 1.4; }

/* ---- Metrics panel ---- */
.why-metrics {
  background: linear-gradient(135deg, #0A1628 0%, #04080F 100%);
  border: 1px solid rgba(59,130,246,.14);
  border-radius: var(--radius-lg);
  padding: 24px 26px 20px;
  box-shadow: 0 20px 60px rgba(4,8,15,.25), 0 0 0 1px rgba(255,255,255,.04) inset;
  position: relative;
  overflow: hidden;
}
.why-metrics::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(59,130,246,.12) 0%, transparent 70%);
  pointer-events: none;
}

.wm-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.wm-item { margin-bottom: 18px; }
.wm-item:last-child { margin-bottom: 0; }

.wm-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.wm-labels span {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.wm-labels strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -.02em;
}

.wm-bar {
  height: 5px;
  background: rgba(255,255,255,.07);
  border-radius: 100px;
  overflow: hidden;
}
.wm-fill {
  height: 100%;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
  border-radius: 100px;
  box-shadow: 0 0 10px rgba(59,130,246,.5);
  width: 0;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.wm-fill-violet { background: linear-gradient(90deg, #8B5CF6, #A78BFA); box-shadow: 0 0 10px rgba(139,92,246,.5); }
.wm-fill-teal   { background: linear-gradient(90deg, #0D9488, #2DD4BF); box-shadow: 0 0 10px rgba(13,148,136,.5); }
.wm-fill-orange { background: linear-gradient(90deg, #F59E0B, #FCD34D); box-shadow: 0 0 10px rgba(245,158,11,.4); }

@media (max-width: 1100px) {
  .why-inner { grid-template-columns: 1fr; gap: 56px; }
  .cert-cards { grid-template-columns: repeat(4, 1fr); }
}

/* ----------------------------------------------------------------
   TESTIMONIALS
---------------------------------------------------------------- */
.testimonials-section { background: var(--white); overflow: hidden; }
.testimonials-track {
  overflow: hidden;
  padding: 4px 0 8px;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.testimonials-inner {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonialScroll 65s linear infinite;
}
.testimonials-inner:hover { animation-play-state: paused; }
@keyframes testimonialScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testimonial-card {
  width: 400px;
  flex-shrink: 0;
  padding: 32px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.featured-testimonial {
  background: linear-gradient(135deg, rgba(59,130,246,.05), rgba(139,92,246,.05));
  border-color: rgba(59,130,246,.2);
}
.tc-stars { color: var(--orange); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.tc-quote {
  font-size: .95rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
}
.tc-author { display: flex; align-items: center; gap: 16px; }
.tc-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  flex-shrink: 0;
  background: var(--av-color, #3B82F6);
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 4px 14px rgba(0,0,0,.18), 0 0 0 2px var(--av-color, #3B82F6);
}
.tc-author strong { display: block; font-size: .92rem; }
.tc-author span   { font-size: .8rem; color: var(--text-second); }

/* ----------------------------------------------------------------
   INSIGHTS
---------------------------------------------------------------- */
.insights-section { background: var(--off-white); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-light);
  transition: all var(--transition-slow);
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ic-image {
  height: 180px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
/* Animated gradient mesh card images */
.ic-img-1, .ic-img-2, .ic-img-3 { overflow: hidden; }

.ic-img-1 { background: #060f22; }
.ic-img-1::before {
  content: '';
  position: absolute; inset: -30px;
  background:
    radial-gradient(circle at 25% 75%, rgba(59,130,246,.9) 0%, transparent 48%),
    radial-gradient(circle at 78% 18%, rgba(147,197,253,.75) 0%, transparent 42%),
    radial-gradient(circle at 52% 52%, rgba(29,78,216,.65) 0%, transparent 55%);
  filter: blur(22px);
  animation: meshFlow1 7s ease-in-out infinite alternate;
}
.ic-img-1::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23fff' fill-opacity='.13'/%3E%3C/svg%3E");
  animation: dotDrift 12s linear infinite;
}
@keyframes meshFlow1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, -5%) scale(1.14); }
}

.ic-img-2 { background: #0e0420; }
.ic-img-2::before {
  content: '';
  position: absolute; inset: -30px;
  background:
    radial-gradient(circle at 70% 28%, rgba(139,92,246,.95) 0%, transparent 48%),
    radial-gradient(circle at 22% 72%, rgba(167,139,250,.65) 0%, transparent 42%),
    radial-gradient(circle at 50% 80%, rgba(109,40,217,.7) 0%, transparent 50%);
  filter: blur(24px);
  animation: meshFlow2 8s ease-in-out infinite alternate;
}
.ic-img-2::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23fff' fill-opacity='.11'/%3E%3C/svg%3E");
  animation: dotDrift 15s linear infinite reverse;
}
@keyframes meshFlow2 {
  0%   { transform: translate(0, 0) scale(1.05); }
  100% { transform: translate(-5%, 5%) scale(1); }
}

.ic-img-3 { background: #021612; }
.ic-img-3::before {
  content: '';
  position: absolute; inset: -30px;
  background:
    radial-gradient(circle at 60% 38%, rgba(16,185,129,.9) 0%, transparent 48%),
    radial-gradient(circle at 18% 68%, rgba(52,211,153,.6) 0%, transparent 40%),
    radial-gradient(circle at 82% 80%, rgba(6,95,70,.85) 0%, transparent 50%);
  filter: blur(26px);
  animation: meshFlow3 9s ease-in-out infinite alternate;
}
.ic-img-3::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23fff' fill-opacity='.11'/%3E%3C/svg%3E");
  animation: dotDrift 18s linear infinite;
}
@keyframes meshFlow3 {
  0%   { transform: translate(2%, 2%) scale(1.08); }
  100% { transform: translate(-3%, -5%) scale(1); }
}
@keyframes dotDrift {
  from { background-position: 0 0; }
  to   { background-position: 96px 96px; }
}
.ic-tag {
  padding: 4px 10px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.3);
  position: relative;
  z-index: 3;
}
.ic-body { padding: 24px; }
.ic-meta { font-size: .75rem; color: var(--slate-light); margin-bottom: 10px; }
.ic-body h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.ic-body p  { font-size: .87rem; margin-bottom: 16px; }
.ic-link { font-size: .85rem; font-weight: 600; color: var(--primary); transition: color var(--transition); }
.ic-link:hover { color: var(--accent); }

/* ----------------------------------------------------------------
   GLOBAL PRESENCE MAP
---------------------------------------------------------------- */
.global-map-section {
  background: linear-gradient(180deg, #04080F 0%, #071628 60%, #04080F 100%);
  padding: 96px 0 80px;
  overflow: hidden;
}
.global-map-section .section-title { color: #fff; }
.global-map-section .section-tag { background: rgba(59,130,246,.15); color: #60A5FA; border-color: rgba(59,130,246,.25); }
.global-map-section .section-desc { color: rgba(255,255,255,.55); }
.gm-map-wrap { width: 100%; margin: 48px 0 40px; padding: 0 16px; box-sizing: border-box; }
#world-map { width: 100%; height: auto; display: block; }
.map-land { fill: rgba(59,130,246,.1); stroke: rgba(96,165,250,.22); stroke-width: .6; stroke-linejoin: round; }
.map-conn {
  stroke: rgba(99,179,237,.28);
  stroke-width: .8;
  stroke-dasharray: 5 4;
  animation: connFlow 3s linear infinite;
}
@keyframes connFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -27; }
}
.map-dot { fill: #60A5FA; }
.map-pulse-ring {
  fill: none; stroke: #60A5FA; stroke-width: 1; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: dotPulse 2.4s ease-out infinite;
}
@keyframes dotPulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(3.5); opacity: 0; }
}
.map-city-label {
  fill: rgba(255,255,255,.65); font-size: 9px; font-family: inherit;
  text-anchor: middle; pointer-events: none; letter-spacing: .03em;
}
.map-city-link:hover .map-dot { fill: #93C5FD; }
.map-city-link:hover .map-city-label { fill: #fff; }
.map-hq-dot { fill: #F59E0B; }
.map-hq-ring {
  fill: none; stroke: #F59E0B; stroke-width: 1.5; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: dotPulse 2.4s ease-out infinite;
}
.map-hq-label {
  fill: #FCD34D; font-size: 10px; font-weight: 700;
  font-family: inherit; text-anchor: middle; pointer-events: none; letter-spacing: .04em;
}
.gm-city-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.gm-chip {
  padding: 7px 16px; border-radius: 100px;
  border: 1px solid rgba(96,165,250,.2); color: rgba(255,255,255,.6);
  font-size: .8rem; font-weight: 500; background: rgba(59,130,246,.06);
  transition: all var(--transition); letter-spacing: .02em; text-decoration: none;
}
.gm-chip:hover { border-color: rgba(96,165,250,.55); color: #fff; background: rgba(59,130,246,.15); transform: translateY(-2px); }

/* ----------------------------------------------------------------
   CTA BANNER
---------------------------------------------------------------- */
.cta-banner {
  background: var(--navy);
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-blob {
  position: absolute;
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(59,130,246,.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--white); margin-bottom: 12px; }
.cta-text p  { color: rgba(255,255,255,.6); max-width: 480px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.site-footer {
  background: #1C2234;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 80px;
}
.site-footer .footer-brand .logo-icon img {
  width: 48px;
  height: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-tagline { font-size: .88rem; color: rgba(255,255,255,.45); max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  transition: all var(--transition);
}
.social-link:hover { background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.3); color: var(--white); }

.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: .88rem; color: var(--white); font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .83rem;
  color: rgba(255,255,255,.45);
}
.footer-contact svg { flex-shrink: 0; margin-top: 1px; opacity: .6; }

.footer-bottom { padding: 20px 0; background: #161D2C; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ----------------------------------------------------------------
   ANIMATIONS
---------------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
[data-aos="fade-up"]    { animation: fadeInUp .7s ease both; }
[data-aos="fade-left"]  { animation: fadeInLeft .7s ease both; }
[data-aos="fade-right"] { animation: fadeInRight .7s ease both; }
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---- Hero sequential reveal ---- */
.hero-reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: heroReveal .7s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Title lines staggered ---- */
.ht-line {
  display: block;
  opacity: 0;
  transform: translateY(32px);
  animation: heroReveal .7s cubic-bezier(.22,1,.36,1) forwards;
}
.ht-line:nth-child(1) { animation-delay: .2s; }
.ht-line:nth-child(2) { animation-delay: .4s; }

/* ---- Animated hero blobs ---- */
.blob-1 { animation: blobDrift1 12s ease-in-out infinite; }
.blob-2 { animation: blobDrift2 16s ease-in-out infinite; }
.blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(139,92,246,.12) 0%, transparent 70%);
  top: 30%; left: 30%;
  animation: blobDrift3 10s ease-in-out infinite;
}
@keyframes blobDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-40px, 30px) scale(1.08); }
  66%     { transform: translate(20px,-20px) scale(.94); }
}
@keyframes blobDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(30px, 40px) scale(1.05); }
}
@keyframes blobDrift3 {
  0%,100% { transform: translate(0,0); opacity:.1; }
  50%     { transform: translate(-20px,-30px); opacity:.18; }
}

.btn-shimmer { position: relative; overflow: hidden; }

/* ---- Particle dots ---- */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(99,160,255,.6);
  pointer-events: none;
  animation: particleRise linear infinite;
  will-change: transform, opacity;
}
@keyframes particleRise {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  10%  { opacity: 1; }
  80%  { opacity: .35; }
  100% { opacity: 0; transform: translateY(-140px) scale(0); }
}

/* ---- Glowing bubbles ---- */
.hero-bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--bubble-color, rgba(59,130,246,.15));
  box-shadow: 0 0 14px 3px var(--bubble-glow, rgba(59,130,246,.25));
  pointer-events: none;
  animation: bubbleDrift linear infinite;
  will-change: transform, opacity;
}
@keyframes bubbleDrift {
  0%   { opacity: 0; transform: translateY(0) translateX(0) scale(1); }
  15%  { opacity: 1; }
  50%  { transform: translateY(-60px) translateX(20px) scale(1.1); }
  85%  { opacity: .6; }
  100% { opacity: 0; transform: translateY(-160px) translateX(-10px) scale(.5); }
}

/* ---- Dashboard tilt on mouse ---- */
.dashboard-mockup {
  transition: transform .15s ease, box-shadow .15s ease;
  will-change: transform;
}

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .dropdown-wide { min-width: 600px; }
  .dropdown-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-showcase { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 0 20px; }
  .testimonial-card { width: 320px; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .cert-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .cert-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; padding: 16px 20px; }
  .stat-divider { display: none; }
  .cta-inner { flex-direction: column; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-title { font-size: 2.6rem; }
}

/* ----------------------------------------------------------------
   SCROLL TO TOP BUTTON
---------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 500;
  font-size: 1.1rem;
  border: none;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--accent); transform: translateY(-2px); }
