/*
  ██████████████████████████████████████████████████████
  NEXOLYN TECHNOLOGIES — Futuristic Design System
  Award-Winning UI · GPU-Accelerated · 120fps Feeling
  ██████████████████████████████████████████████████████
*/

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

/* ══════════════════════════════════════════
   ROOT DESIGN TOKENS
══════════════════════════════════════════ */
:root {
  /* Brand Palette */
  --bg:             #050816;
  --bg-card:        rgba(255,255,255,0.03);
  --bg-card-hover:  rgba(255,255,255,0.07);
  --blue:           #3B82F6;
  --blue-dim:       rgba(59,130,246,0.12);
  --blue-glow:      rgba(59,130,246,0.55);
  --cyan:           #06B6D4;
  --cyan-dim:       rgba(6,182,212,0.12);
  --cyan-glow:      rgba(6,182,212,0.55);
  --purple:         #8B5CF6;
  --purple-dim:     rgba(139,92,246,0.12);
  --purple-glow:    rgba(139,92,246,0.55);

  /* Text */
  --text-white:   #ffffff;
  --text-primary: #e2e8f0;
  --text-muted:   #94a3b8;
  --text-subtle:  #475569;

  /* Glass */
  --glass-bg:            rgba(255,255,255,0.03);
  --glass-bg-hover:      rgba(255,255,255,0.07);
  --glass-border:        rgba(255,255,255,0.07);
  --glass-border-hover:  rgba(255,255,255,0.18);

  /* Shadows */
  --shadow-blue:   0 0 40px rgba(59,130,246,0.25),  0 0 80px rgba(59,130,246,0.08);
  --shadow-cyan:   0 0 40px rgba(6,182,212,0.25),   0 0 80px rgba(6,182,212,0.08);
  --shadow-purple: 0 0 40px rgba(139,92,246,0.25),  0 0 80px rgba(139,92,246,0.08);
  --shadow-card:   0 25px 60px rgba(0,0,0,0.6), 0 8px 20px rgba(0,0,0,0.4);

  /* Radii */
  --r-xs: 0.375rem;
  --r-sm: 0.625rem;
  --r-md: 1rem;
  --r-lg: 1.5rem;
  --r-xl: 2rem;
  --r-pill: 100rem;

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

  /* Timing */
  --t-fast:   0.15s;
  --t-med:    0.35s;
  --t-slow:   0.65s;
  --t-slower: 1s;
}

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

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (hover: fine) and (pointer: fine) {
  body { cursor: none; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-white);
  line-height: 1.15;
}

a { text-decoration: none; color: inherit; }

img, canvas, video, svg { display: block; max-width: 100%; }

/* ══════════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════════ */
#cursor-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width var(--t-med), height var(--t-med), background var(--t-med), opacity var(--t-med);
  mix-blend-mode: screen;
  will-change: left, top;
}

#cursor-ring {
  position: fixed;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(59,130,246,0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width var(--t-slow) var(--ease-spring),
    height var(--t-slow) var(--ease-spring),
    border-color var(--t-med),
    background var(--t-med),
    opacity var(--t-med);
  will-change: left, top;
}

body.cursor-hover #cursor-dot {
  width: 5px; height: 5px;
  background: var(--cyan);
}

body.cursor-hover #cursor-ring {
  width: 60px; height: 60px;
  border-color: var(--cyan);
  background: rgba(6,182,212,0.06);
}

/* ══════════════════════════════════════════
   PAGE LOADER
══════════════════════════════════════════ */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.7s var(--ease-smooth), visibility 0.7s;
}

#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue), var(--cyan) 50%, var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: loader-pulse 1.6s ease-in-out infinite;
}

@keyframes loader-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.loader-bar {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.loader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--purple));
  animation: loader-slide 1.4s ease-in-out infinite;
}

@keyframes loader-slide {
  0%   { left: -100%; }
  100% { left:  100%; }
}

/* ══════════════════════════════════════════
   GRADIENT TEXT UTILITIES
══════════════════════════════════════════ */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

/* ══════════════════════════════════════════
   GLASSMORPHISM
══════════════════════════════════════════ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
}

.glass-hover {
  transition:
    background var(--t-med) var(--ease-smooth),
    border-color var(--t-med) var(--ease-smooth),
    box-shadow var(--t-med) var(--ease-smooth),
    transform var(--t-med) var(--ease-smooth);
}

.glass-hover:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

/* ══════════════════════════════════════════
   SCROLL REVEAL SYSTEM
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) rotate(0);
}

.reveal-up    { transform: translateY(70px); }
.reveal-left  { transform: translateX(-60px) translateY(0); }
.reveal-right { transform: translateX(60px) translateY(0); }
.reveal-scale { transform: scale(0.82) translateY(30px); }
.reveal-rotate { transform: rotate(-6deg) translateY(40px); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.65s; }

/* ══════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════ */
.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.mb-section { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition:
    padding var(--t-med) var(--ease-smooth),
    background var(--t-med) var(--ease-smooth),
    border-color var(--t-med);
}

#navbar.scrolled {
  padding: 0.7rem 0;
  background: rgba(5, 8, 22, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-white);
  letter-spacing: 0.02em;
}

.nav-brand img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-link {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.nav-cta {
  padding: 0.55rem 1.35rem;
  background: linear-gradient(135deg, var(--blue), var(--purple)) !important;
  color: white !important;
  border-radius: var(--r-pill) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 0 20px rgba(59,130,246,0.35) !important;
  transition: opacity var(--t-fast), box-shadow var(--t-fast) !important;
}

.nav-cta:hover {
  opacity: 0.88 !important;
  box-shadow: 0 0 35px rgba(59,130,246,0.55) !important;
  background: linear-gradient(135deg, var(--blue), var(--purple)) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  border: none;
  background: transparent;
  transition: background var(--t-fast);
}

.nav-toggle:hover { background: rgba(255,255,255,0.05); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease-spring), opacity var(--t-fast);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 22, 0.97);
  backdrop-filter: blur(40px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-spring);
}

.nav-mobile.open { transform: translateX(0); }

.nav-mob-link {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 8vw, 2.5rem);
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  transition: color var(--t-fast), transform var(--t-fast);
}

.nav-mob-link:hover { color: var(--text-white); transform: translateX(10px); }

/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
#home {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Stars canvas — full viewport bg */
#star-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Gradient mesh */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 30%, rgba(59,130,246,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 85% 65%, rgba(139,92,246,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 65% 40% at 15% 35%, rgba(6,182,212,0.05) 0%, transparent 55%);
  transition: transform 0.3s ease;
}

/* Particle sphere canvas */
#sphere-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, 88vw);
  height: min(680px, 88vw);
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

/* Floating tech icons */
.float-icons {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  animation: float-anim 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes float-anim {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(3deg); }
  66%       { transform: translateY(7px) rotate(-2deg); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 880px;
  padding: 0 1.5rem;
  margin-top: 5.5rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem 0.375rem 0.5rem;
  background: rgba(59,130,246,0.09);
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(-20px);
  animation: hero-badge-in 0.8s var(--ease-out) 0.4s forwards;
}

@keyframes hero-badge-in {
  to { opacity: 1; transform: translateY(0); }
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: badge-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.7); }
  50%       { box-shadow: 0 0 0 6px rgba(59,130,246,0); }
}

/* Hero title */
.hero-title {
  font-size: clamp(1.5rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: inline-block;
  white-space: nowrap;
}

/* Letter-by-letter reveal */
.hero-title .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotate(10deg);
  animation: letter-reveal 0.6s var(--ease-spring) forwards;
  will-change: transform, opacity;
}

@keyframes letter-reveal {
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

/* Hero subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up-in 0.9s var(--ease-out) 1.6s forwards;
}

@keyframes fade-up-in {
  to { opacity: 1; transform: translateY(0); }
}

/* CTA group */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  animation: cta-appear 0.8s var(--ease-spring) 2s forwards;
}

@keyframes cta-appear {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--r-pill);
  font-family: 'Inter', sans-serif;
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  overflow: hidden;
  transition:
    transform var(--t-med) var(--ease-spring),
    box-shadow var(--t-med) var(--ease-smooth);
  will-change: transform;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn:hover  { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  color: white;
  box-shadow: 0 8px 28px rgba(59,130,246,0.38);
}

.btn-primary:hover {
  box-shadow: 0 14px 42px rgba(59,130,246,0.58);
}

.btn-outline {
  background: var(--glass-bg);
  color: var(--text-white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 0 22px rgba(59,130,246,0.18);
}

/* Ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  transform: scale(0);
  animation: ripple-expand 0.65s linear;
  pointer-events: none;
}

@keyframes ripple-expand {
  to { transform: scale(4); opacity: 0; }
}

/* ══════════════════════════════════════════
   SCROLL INDICATOR
══════════════════════════════════════════ */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 3;
  opacity: 0;
  animation: fade-up-in 0.8s ease 2.8s forwards;
}

.scroll-indicator span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.scroll-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 11px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px;
  background: var(--blue);
  border-radius: 2px;
  animation: scroll-wheel 2.2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%   { transform: translateX(-50%) translateY(0);    opacity: 1; }
  100% { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

/* ══════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════ */
#about {
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.025) 50%, transparent);
}

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

.about-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition:
    transform var(--t-med) var(--ease-spring),
    box-shadow var(--t-med);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* About visual card */
.about-visual-card {
  position: relative;
  padding: 2.5rem;
  cursor: default;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

.av-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin: 0 auto;
}

.av-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.av-line {
  stroke: rgba(59,130,246,0.18);
  stroke-width: 1;
  stroke-dasharray: 5 5;
  animation: dash-flow 2.5s linear infinite;
}

@keyframes dash-flow { to { stroke-dashoffset: -20; } }

.av-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(139,92,246,0.18));
  border: 1px solid rgba(59,130,246,0.32);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 50px rgba(59,130,246,0.28);
  animation: center-glow-pulse 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes center-glow-pulse {
  0%, 100% { box-shadow: 0 0 50px rgba(59,130,246,0.28); }
  50%       { box-shadow: 0 0 80px rgba(6,182,212,0.45); }
}

.av-node {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  z-index: 2;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.av-node:hover { border-color: var(--blue); box-shadow: var(--shadow-blue); }

.av-node-1 { top: 5%;  left: 5%;  color: var(--blue);   animation: float-anim 5.5s ease-in-out infinite 0s; }
.av-node-2 { top: 5%;  right: 5%; color: var(--purple);  animation: float-anim 6.5s ease-in-out infinite 1s; }
.av-node-3 { top: 50%; left: -2%; transform: translateY(-50%); color: var(--cyan); animation: float-anim 7s ease-in-out infinite 2s; }
.av-node-4 { top: 50%; right: -2%; transform: translateY(-50%); color: var(--blue); animation: float-anim 6s ease-in-out infinite 3s; }
.av-node-5 { bottom: 5%; left: 5%;  color: var(--purple); animation: float-anim 7.5s ease-in-out infinite 1.5s; }
.av-node-6 { bottom: 5%; right: 5%; color: var(--cyan);   animation: float-anim 5s ease-in-out infinite 2.5s; }

/* Tilt glow */
.tilt-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: background 0.1s;
}

/* ══════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════ */
#services {
  background: linear-gradient(180deg, transparent, rgba(139,92,246,0.025) 50%, transparent);
}

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

.service-card {
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  cursor: pointer;
  will-change: transform;
  transition: box-shadow var(--t-med) var(--ease-smooth);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-color, var(--blue-dim)), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-med);
  border-radius: inherit;
  pointer-events: none;
}

.service-card:hover::before { opacity: 1; }

.card-glow-line {
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-color, var(--blue)), transparent);
  opacity: 0;
  transition: opacity var(--t-med);
}

.service-card:hover .card-glow-line { opacity: 1; }

.service-icon {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition:
    transform var(--t-med) var(--ease-spring),
    box-shadow var(--t-med);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.12) translateY(-3px);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 1.25rem;
  transition: gap var(--t-fast);
  position: relative;
  z-index: 1;
}

.service-link:hover { gap: 0.65rem; color: var(--cyan); }

/* ══════════════════════════════════════════
   TECH ORBIT SECTION
══════════════════════════════════════════ */
#tech {
  overflow: visible;
}

.orbit-container {
  position: relative;
  width: 560px;
  height: 560px;
  margin: 3.5rem calc(50% - 280px) 0;
}

/* Decorative static ring outlines */
.orbit-ring-deco {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-ring-deco-1 { width: 220px; height: 220px; }
.orbit-ring-deco-2 { width: 360px; height: 360px; }
.orbit-ring-deco-3 { width: 500px; height: 500px; }

/* Center orb */
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: white;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 0 60px rgba(59,130,246,0.55), 0 0 100px rgba(139,92,246,0.25);
  animation: orbit-center-pulse 3s ease-in-out infinite;
  text-align: center;
}

@keyframes orbit-center-pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(59,130,246,0.55), 0 0 100px rgba(139,92,246,0.25); }
  50%       { box-shadow: 0 0 80px rgba(6,182,212,0.7), 0 0 120px rgba(59,130,246,0.3); }
}

/* ── Orbit Tracks ──
   Each track is an invisible circle that rotates.
   The logo inside counter-rotates to stay upright.
   Negative animation-delay syncs logo + track offsets.
── */
.orbit-track {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  pointer-events: none;
}

/* Ring 1 — radius 110px → ⌀ 220px */
.orbit-r1 { width: 220px; height: 220px; margin-left: -110px; margin-top: -110px; animation: orbit-spin 15s linear infinite; }
/* Ring 2 — radius 180px → ⌀ 360px */
.orbit-r2 { width: 360px; height: 360px; margin-left: -180px; margin-top: -180px; animation: orbit-spin 25s linear infinite; }
/* Ring 3 — radius 250px → ⌀ 500px */
.orbit-r3 { width: 500px; height: 500px; margin-left: -250px; margin-top: -250px; animation: orbit-spin 38s linear infinite; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* Ring 1 track delays (15s ÷ 4 = 3.75s per slot) */
.orbit-t1-1 { animation-delay:     0s; }
.orbit-t1-2 { animation-delay: -3.75s; }
.orbit-t1-3 { animation-delay:  -7.5s; }
.orbit-t1-4 { animation-delay: -11.25s; }

/* Ring 2 track delays (25s ÷ 4 = 6.25s per slot) */
.orbit-t2-1 { animation-delay:    0s; }
.orbit-t2-2 { animation-delay: -6.25s; }
.orbit-t2-3 { animation-delay: -12.5s; }
.orbit-t2-4 { animation-delay: -18.75s; }

/* Ring 3 track delays (38s ÷ 4 = 9.5s per slot) */
.orbit-t3-1 { animation-delay:   0s; }
.orbit-t3-2 { animation-delay: -9.5s; }
.orbit-t3-3 { animation-delay:  -19s; }
.orbit-t3-4 { animation-delay: -28.5s; }

/* Logo — sits at top of track circle, counter-rotates to stay upright */
.orbit-logo {
  position: absolute;
  top: -24px;          /* half of 48px logo height */
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  pointer-events: all;
  cursor: default;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.orbit-logo:hover {
  border-color: rgba(59,130,246,0.6);
  box-shadow: 0 0 22px rgba(59,130,246,0.45);
  transform: translateX(-50%) scale(1.18);
  z-index: 20;
}

/* Counter-rotation animations */
.orbit-logo-r1 { animation: orbit-spin 15s linear infinite reverse; }
.orbit-logo-r2 { animation: orbit-spin 25s linear infinite reverse; }
.orbit-logo-r3 { animation: orbit-spin 38s linear infinite reverse; }

/* Logo counter-rotation delay must match track delay (same delay, opposite direction) */
.orbit-t1-1 .orbit-logo { animation-delay:     0s; }
.orbit-t1-2 .orbit-logo { animation-delay: -3.75s; }
.orbit-t1-3 .orbit-logo { animation-delay:  -7.5s; }
.orbit-t1-4 .orbit-logo { animation-delay: -11.25s; }

.orbit-t2-1 .orbit-logo { animation-delay:    0s; }
.orbit-t2-2 .orbit-logo { animation-delay: -6.25s; }
.orbit-t2-3 .orbit-logo { animation-delay: -12.5s; }
.orbit-t2-4 .orbit-logo { animation-delay: -18.75s; }

.orbit-t3-1 .orbit-logo { animation-delay:   0s; }
.orbit-t3-2 .orbit-logo { animation-delay: -9.5s; }
.orbit-t3-3 .orbit-logo { animation-delay:  -19s; }
.orbit-t3-4 .orbit-logo { animation-delay: -28.5s; }

.ol-icon { font-size: 1.05rem; line-height: 1; }
.ol-text  { font-size: 0.48rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.05em; }

/* ══════════════════════════════════════════
   PROJECTS SECTION
══════════════════════════════════════════ */
#projects {
  background: linear-gradient(180deg, transparent, rgba(6,182,212,0.025) 50%, transparent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform var(--t-med) var(--ease-spring),
    box-shadow var(--t-med);
}

.project-card:hover {
  transform: translateY(-14px) scale(1.025);
  box-shadow: var(--shadow-card), 0 0 50px rgba(59,130,246,0.15);
}

.project-thumbnail {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-thumbnail-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-out);
}

.project-card:hover .project-thumbnail-bg { transform: scale(1.07); }

/* Light sweep on hover */
.project-thumbnail::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -120%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.project-card:hover .project-thumbnail::after { left: 160%; }

.project-info {
  padding: 1.5rem 1.5rem 1.75rem;
}

.project-tag {
  display: inline-flex;
  padding: 0.22rem 0.7rem;
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--r-pill);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.project-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.45rem;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Project thumbnail mockups */
.proj-mockup { width: 100%; height: 100%; padding: 14px; }
.pm-bar { height: 8px; border-radius: 4px; background: rgba(59,130,246,0.4); margin-bottom: 12px; }
.pm-content { padding: 2px; }
.pm-row { height: 7px; border-radius: 3px; background: rgba(255,255,255,0.1); margin-bottom: 8px; }
.pm-row.pm-short { width: 55%; }
.pm-blocks { display: flex; gap: 8px; margin-top: 12px; }
.pm-block  { flex: 1; height: 48px; border-radius: 6px; }
.pm-chart  { display: flex; align-items: flex-end; gap: 5px; height: 58px; margin-top: 10px; }
.pm-chart-bar { flex: 1; border-radius: 3px 3px 0 0; }

/* ══════════════════════════════════════════
   PROCESS TIMELINE
══════════════════════════════════════════ */
#process {
  background: linear-gradient(180deg, transparent, rgba(139,92,246,0.03) 50%, transparent);
}

.timeline-wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 34px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}

.timeline-line-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--blue), var(--cyan), var(--purple));
  transition: height 0.15s linear;
  box-shadow: 0 0 10px rgba(59,130,246,0.8);
}

.timeline-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3.25rem;
  position: relative;
  transition: opacity var(--t-slow);
}

.timeline-step:last-child { margin-bottom: 0; }

.step-icon {
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  position: relative; z-index: 2;
  transition:
    border-color var(--t-med),
    box-shadow var(--t-med),
    background var(--t-med),
    transform var(--t-med) var(--ease-spring);
}

.timeline-step.active .step-icon {
  border-color: rgba(59,130,246,0.6);
  box-shadow: 0 0 30px rgba(59,130,246,0.4), 0 0 60px rgba(59,130,246,0.1);
  background: rgba(59,130,246,0.08);
  transform: scale(1.05);
}

.step-content {
  padding-top: 0.9rem;
  opacity: 0.35;
  transition: opacity var(--t-slow);
}

.timeline-step.active .step-content { opacity: 1; }

.step-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   AI SECTION
══════════════════════════════════════════ */
#ai {
  background: linear-gradient(180deg, transparent, rgba(6,182,212,0.03) 50%, transparent);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai-canvas-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.ai-canvas-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(6,182,212,0.14) 0%, transparent 65%);
  pointer-events: none;
  animation: glow-breathe 4s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.12); }
}

#ai-canvas {
  width: 100%; height: 100%;
  display: block;
}

/* Typed text */
.typed-container {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.typed-prefix {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.typed-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-height: 2rem;
}

.typed-cursor {
  width: 2px; height: 1.5rem;
  background: var(--cyan);
  display: inline-block;
  border-radius: 1px;
  animation: cursor-blink 1s step-end infinite;
  flex-shrink: 0;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* AI feature list */
.ai-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.ai-feature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--r-md);
  transition: background var(--t-fast), transform var(--t-fast);
}

.ai-feature:hover { transform: translateX(6px); }

.ai-feature-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ai-feature-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ══════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════ */
#stats {
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.04) 50%, transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  padding: 2.25rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med);
}

.stat-item:hover { transform: translateY(-6px); }

.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-color, var(--blue)), transparent);
}

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}

.stat-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ══════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════ */
#contact { position: relative; }

.contact-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 55px 55px;
  animation: grid-scroll 10s linear infinite;
}

@keyframes grid-scroll { to { background-position: 0 55px; } }

.contact-panel {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem;
  z-index: 2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1.375rem; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.925rem;
  outline: none;
  resize: none;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast),
    background var(--t-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.14), 0 0 25px rgba(59,130,246,0.08);
  background: rgba(59,130,246,0.04);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.55;
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--purple));
  background-size: 200% 200%;
  color: white;
  border: none;
  border-radius: var(--r-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: gradient-sweep 5s linear infinite;
  transition:
    transform var(--t-med) var(--ease-spring),
    box-shadow var(--t-med);
}

@keyframes gradient-sweep {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(59,130,246,0.5);
}

/* Contact chips */
.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition:
    color var(--t-fast),
    border-color var(--t-fast),
    transform var(--t-fast);
}

.contact-chip:hover {
  color: var(--text-white);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#footer {
  position: relative;
  padding: 5.5rem 0 2.5rem;
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: -3px; left: 0; right: 0;
  height: 72px;
  overflow: hidden;
  pointer-events: none;
}

.footer-wave svg {
  position: absolute;
  bottom: 0; left: 0;
  width: 200%;
  animation: wave-drift 10s linear infinite;
}

@keyframes wave-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer-brand img { height: 30px; }

.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
}

.footer-tagline {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--glass-bg);
  transition:
    color var(--t-fast),
    border-color var(--t-fast),
    transform 0.5s var(--ease-spring),
    box-shadow var(--t-fast);
}

.social-link:hover {
  color: var(--text-white);
  border-color: rgba(59,130,246,0.5);
  transform: rotate(360deg) scale(1.15);
  box-shadow: 0 0 16px rgba(59,130,246,0.38);
}

.footer-col-title {
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.855rem;
  color: var(--text-muted);
  transition: color var(--t-fast), translate var(--t-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--text-white);
  translate: 5px 0;
}

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

.footer-copyright, .footer-credits {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.footer-credits span { color: var(--blue); }

/* ══════════════════════════════════════════
   SHARED KEYFRAMES
══════════════════════════════════════════ */
@keyframes float-anim {
  0%, 100% { transform: translateY(0px)   rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(3deg); }
  66%       { transform: translateY(7px)   rotate(-2deg); }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .projects-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .orbit-container { transform: scale(0.85); transform-origin: center top; margin-bottom: -84px; }
}

@media (max-width: 768px) {
  .nav-links   { display: none; }
  .nav-toggle  { display: flex; }

  .about-grid  { grid-template-columns: 1fr; }
  .ai-grid     { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .form-row { grid-template-columns: 1fr; }
  .contact-panel { padding: 2rem 1.5rem; }
  .contact-page-grid { grid-template-columns: 1fr !important; }

  .orbit-container { transform: scale(0.6); transform-origin: center top; margin-bottom: -200px; }

  .float-icon { display: none; }

  .hero-title { font-size: clamp(1.7rem, 9.5vw, 3.5rem); }

  .about-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .orbit-container { transform: scale(0.48); transform-origin: center top; margin-bottom: -270px; }
}

/* ══════════════════════════════════════════
   REDUCED MOTION OVERRIDES
══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-title .letter { opacity: 1 !important; transform: none !important; }
  .hero-subtitle,
  .hero-cta,
  .hero-badge,
  .scroll-indicator { opacity: 1 !important; transform: none !important; }
}
