/* ==========================================================================
   STRATOS-IT — Main Stylesheet
   Dark cyber theme · Neon accents · Smooth animations
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-primary:    #030712;
  --bg-secondary:  #0d1117;
  --bg-tertiary:   #161b22;
  --bg-card:       rgba(13, 17, 23, 0.85);
  --bg-card-hover: rgba(22, 30, 44, 0.95);

  /* Borders */
  --border:        rgba(56, 189, 248, 0.1);
  --border-hover:  rgba(56, 189, 248, 0.35);
  --border-card:   rgba(99, 102, 241, 0.15);

  /* Text */
  --text-primary:   #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;

  /* Accent colors */
  --accent-cyan:    #38bdf8;
  --accent-blue:    #6366f1;
  --accent-purple:  #a78bfa;
  --accent-green:   #34d399;
  --accent-orange:  #fb923c;
  --accent-rose:    #fb7185;

  /* Glow values */
  --glow-cyan:   rgba(56, 189, 248, 0.25);
  --glow-blue:   rgba(99, 102, 241, 0.25);
  --glow-purple: rgba(167, 139, 250, 0.25);

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(20px, 5vw, 48px);
  --section-pad:   clamp(72px, 10vw, 120px);

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Transitions */
  --t-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:   300ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   500ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}


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

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

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Selection */
::selection {
  background: rgba(56, 189, 248, 0.25);
  color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.5);
}


/* --------------------------------------------------------------------------
   3. UTILITIES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent-cyan);
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-desc {
  margin: 0 auto;
}
.section-header .section-label {
  justify-content: center;
}
.section-header .section-label::before { display: none; }


/* --------------------------------------------------------------------------
   4. ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

@keyframes scanLine {
  0%   { transform: translateY(-100%); opacity: 0; }
  5%   { opacity: 0.6; }
  95%  { opacity: 0.6; }
  100% { transform: translateY(200vh); opacity: 0; }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(15px, -20px) scale(1.05); }
  66%       { transform: translate(-10px, 10px) scale(0.97); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes rotateRingReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.4; }
}

@keyframes navGlow {
  0%, 100% { box-shadow: 0 1px 0 0 rgba(56, 189, 248, 0.1); }
  50%       { box-shadow: 0 1px 0 0 rgba(56, 189, 248, 0.25); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }
.reveal[data-delay="500"] { transition-delay: 500ms; }


/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: none;
}
.btn:hover::after {
  animation: shimmer 0.7s ease forwards;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #fff;
  box-shadow: 0 0 20px var(--glow-blue), 0 4px 12px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--glow-cyan), 0 8px 20px rgba(0,0,0,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(56, 189, 248, 0.06);
  color: var(--accent-cyan);
  border: 1px solid var(--border-hover);
}
.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--glow-cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--r-lg);
}


/* --------------------------------------------------------------------------
   6. NAVIGATION
   -------------------------------------------------------------------------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--t-base), box-shadow var(--t-base);
}

#navbar.scrolled {
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(56, 189, 248, 0.12);
}

/* Three-column layout: logo | links (centre) | actions (right) */
.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.nav-logo:hover { opacity: 0.85; }

.logo-icon {
  width: 30px; height: 30px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.logo-accent { color: var(--accent-cyan); }

/* Centre column: grid handles positioning, just centre children */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Right slot: always visible on every breakpoint */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--r-md);
  white-space: nowrap;
  transition: all var(--t-base);
}
.nav-cta:hover {
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 16px var(--glow-cyan);
}

/* Hamburger — hidden on desktop, shown on mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--t-base);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px var(--container-pad) 20px;
  background: rgba(3, 7, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  padding: 10px 14px;
  border-radius: var(--r-sm);
}
.nav-mobile .nav-cta-mobile {
  margin-top: 8px;
  text-align: center;
  padding: 12px;
  border-radius: var(--r-md);
}


/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
  padding: 120px var(--container-pad) 80px;
}

/* Cyber grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Scanning line */
.hero-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-cyan) 30%, rgba(56,189,248,0.4) 50%, var(--accent-cyan) 70%, transparent 100%);
  filter: blur(2px);
  animation: scanLine 8s linear infinite;
  animation-delay: 1s;
  pointer-events: none;
}

/* Ambient orbs */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  top: 20%; right: -80px;
  animation-delay: -4s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, transparent 70%);
  bottom: 10%; left: 30%;
  animation-delay: -8s;
}
.orb-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
  bottom: 30%; right: 10%;
  animation-delay: -2s;
}

/* Corner accents */
.hero-corner-accent {
  position: absolute;
  width: 120px;
  height: 120px;
  pointer-events: none;
  opacity: 0.5;
}
.hero-corner-accent.top-left {
  top: 80px; left: 24px;
  border-top: 1px solid var(--accent-cyan);
  border-left: 1px solid var(--accent-cyan);
}
.hero-corner-accent.top-right {
  top: 80px; right: 24px;
  border-top: 1px solid var(--accent-cyan);
  border-right: 1px solid var(--accent-cyan);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 780px;
  text-align: center;
  animation: fadeInUp 0.8s var(--t-slow) both;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-green);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.badge-pulse {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Hero title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* Hero description */
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 40px;
}

/* Hero action buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 32px;
  background: rgba(13, 17, 23, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(12px);
  max-width: 520px;
  margin: 0 auto;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 4px 16px;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}


/* --------------------------------------------------------------------------
   8a. PILLAR STRIP SECTION
   -------------------------------------------------------------------------- */
.pillars {
  background: var(--bg-secondary);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(56,189,248,0.03) 0%,
    rgba(99,102,241,0.06) 50%,
    rgba(167,139,250,0.03) 100%
  );
  pointer-events: none;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
  border: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.6);
  backdrop-filter: blur(8px);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.pillar:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.pillar:last-child  { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.pillar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 2px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--t-base);
}
.pillar:hover { transform: translateY(-4px); }
.pillar:hover::after { opacity: 1; }

.pillar-sec::after  { background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent); }
.pillar-it::after   { background: linear-gradient(90deg, transparent, var(--accent-blue), transparent); }
.pillar-dev::after  { background: linear-gradient(90deg, transparent, var(--accent-purple), transparent); }

.pillar-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.pillar-icon svg { width: 28px; height: 28px; }

.pillar-sec .pillar-icon {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
}
.pillar-it .pillar-icon {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #818cf8;
}
.pillar-dev .pillar-icon {
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: var(--accent-purple);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.pillar-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 0; }
  .pillar:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .pillar:last-child  { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .pillar { padding: 28px 24px; }
}


/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
  backdrop-filter: blur(8px);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}
.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px var(--glow-cyan);
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: var(--r-md);
  transition: all var(--t-base);
}
.service-icon svg { width: 100%; height: 100%; }

/* Card 1, 4: cyan */
.service-card:nth-child(1) .service-icon,
.service-card:nth-child(4) .service-icon {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.service-card:nth-child(1):hover .service-icon,
.service-card:nth-child(4):hover .service-icon {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 16px var(--glow-cyan);
}

/* Card 2, 5: purple */
.service-card:nth-child(2) .service-icon,
.service-card:nth-child(5) .service-icon {
  color: var(--accent-purple);
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.2);
}
.service-card:nth-child(2):hover .service-icon,
.service-card:nth-child(5):hover .service-icon {
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 16px var(--glow-purple);
}

/* Card 3, 6: indigo/blue */
.service-card:nth-child(3) .service-icon,
.service-card:nth-child(6) .service-icon {
  color: #818cf8;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.service-card:nth-child(3):hover .service-icon,
.service-card:nth-child(6):hover .service-icon {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 16px var(--glow-blue);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

.service-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  color: var(--accent-blue);
  color: #818cf8;
}


/* --------------------------------------------------------------------------
   9. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content .section-title {
  margin-bottom: 20px;
}

.about-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.point-icon {
  width: 22px;
  height: 22px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 1px;
}

/* About visual card */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-outer {
  position: relative;
  width: 340px;
  height: 340px;
}

.about-card-inner {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.about-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}
.ring-1 {
  width: 260px; height: 260px;
  border-color: rgba(56, 189, 248, 0.15);
  animation: rotateRing 20s linear infinite;
  border-style: dashed;
}
.ring-2 {
  width: 310px; height: 310px;
  border-color: rgba(99, 102, 241, 0.1);
  animation: rotateRingReverse 30s linear infinite;
}
.ring-3 {
  width: 220px; height: 220px;
  border-color: rgba(167, 139, 250, 0.1);
  animation: rotateRing 15s linear infinite;
  border-style: dotted;
}

.about-center-icon {
  width: 72px;
  height: 72px;
  color: var(--accent-cyan);
  position: relative;
  z-index: 2;
}
.about-center-icon svg { width: 100%; height: 100%; }

.about-metrics {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.metric {
  text-align: center;
}
.metric-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-purple);
}
.metric-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   10. EXPERTISE SECTION
   -------------------------------------------------------------------------- */
.expertise {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}

.expertise-category {}

.exp-cat-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all var(--t-base);
  cursor: default;
}
.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.badge-blue {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}
.badge-blue:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.5);
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
  color: var(--accent-cyan);
}
.badge-cyan:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 12px var(--glow-cyan);
}

.badge-purple {
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.2);
  color: var(--accent-purple);
}
.badge-purple:hover {
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.45);
}

.badge-green {
  background: rgba(52, 211, 153, 0.08);
  border-color: rgba(52, 211, 153, 0.2);
  color: var(--accent-green);
}
.badge-green:hover {
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.45);
}

.badge-orange {
  background: rgba(251, 146, 60, 0.08);
  border-color: rgba(251, 146, 60, 0.2);
  color: var(--accent-orange);
}
.badge-orange:hover {
  background: rgba(251, 146, 60, 0.14);
  border-color: rgba(251, 146, 60, 0.45);
}

.badge-rose {
  background: rgba(251, 113, 133, 0.08);
  border-color: rgba(251, 113, 133, 0.2);
  color: var(--accent-rose);
}
.badge-rose:hover {
  background: rgba(251, 113, 133, 0.14);
  border-color: rgba(251, 113, 133, 0.45);
}


/* --------------------------------------------------------------------------
   11. CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding: var(--section-pad) 0;
  text-align: center;
}

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

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-glow-1 {
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  top: -50px; left: 50%;
  transform: translateX(-50%);
}
.cta-glow-2 {
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
}

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

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

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


/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

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

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

.footer-logo {
  font-size: 1.15rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: auto;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-nav-col a:hover { color: var(--accent-cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: all var(--t-base);
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover {
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.06);
  box-shadow: 0 0 12px var(--glow-cyan);
}


/* --------------------------------------------------------------------------
   13. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual { order: -1; }
  .about-card-outer { width: 280px; height: 280px; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  /* Mobile nav: hide centre links (col stays as empty 1fr), hide desktop CTA, show hamburger */
  .nav-container       { grid-template-columns: auto 1fr auto; gap: 8px; }
  .nav-links           { display: none; }
  .nav-cta-desktop     { display: none; }
  .nav-hamburger       { display: flex; }

  .hero-corner-accent { display: none; }

  .hero-stats {
    padding: 16px 20px;
    gap: 0;
  }
  .stat { padding: 4px 12px; }
  .stat-value { font-size: 1.3rem; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .expertise-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .expertise-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .footer-nav { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   14. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* --------------------------------------------------------------------------
   15. LANGUAGE TOGGLE
   -------------------------------------------------------------------------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--r-md);
  transition: all var(--t-base);
  flex-shrink: 0;
}
.lang-toggle:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.lang-divider {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1;
  user-select: none;
}

.lang-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-muted);
  transition: all var(--t-fast);
  line-height: 1.4;
}
.lang-btn:hover {
  color: var(--text-primary);
}
.lang-btn.active {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
}


/* --------------------------------------------------------------------------
   16. CUSTOM NEON CURSOR
   Only active on pointer:fine devices (mouse/trackpad).
   Touch and stylus devices keep the OS cursor.
   -------------------------------------------------------------------------- */
@media (pointer: fine) {
  /* Hide OS cursor site-wide */
  *, *::before, *::after { cursor: none !important; }

  /* Dot — snaps exactly to mouse position */
  .c-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;   /* centre on cursor hotspot */
    background: var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
    transition:
      width  0.25s var(--t-spring),
      height 0.25s var(--t-spring),
      margin 0.25s var(--t-spring),
      background 0.25s ease,
      opacity 0.3s ease;
    box-shadow: 0 0 8px var(--accent-cyan), 0 0 20px rgba(56,189,248,0.4);
  }

  .c-dot.c-hover {
    width: 14px; height: 14px;
    margin: -7px 0 0 -7px;
    background: var(--accent-purple);
    box-shadow: 0 0 12px var(--accent-purple), 0 0 28px rgba(167,139,250,0.5);
  }

  .c-dot.c-click {
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    background: #fff;
    box-shadow: 0 0 16px #fff, 0 0 40px rgba(255,255,255,0.6);
  }

  /* Ring — lags behind with spring feel (applied via JS lerp) */
  .c-ring {
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    margin: -19px 0 0 -19px;
    border: 1.5px solid rgba(56, 189, 248, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    will-change: transform;
    transition:
      width  0.35s var(--t-spring),
      height 0.35s var(--t-spring),
      margin 0.35s var(--t-spring),
      border-color 0.35s ease,
      opacity 0.3s ease;
  }

  .c-ring.c-hover {
    width: 52px; height: 52px;
    margin: -26px 0 0 -26px;
    border-color: rgba(167, 139, 250, 0.65);
  }

  .c-ring.c-click {
    width: 26px; height: 26px;
    margin: -13px 0 0 -13px;
    border-color: rgba(255, 255, 255, 0.9);
  }
}
