/* ================================================
   KVIYA Digital Labs - Main Stylesheet
   Modern, Minimal, Enterprise-Tech Design
   ================================================ */

/* CSS Custom Properties */
:root {
  /* Color Palette - Dark Neutral with Teal Accent */
  --color-bg-primary: #0a0c10;
  --color-bg-secondary: #12151c;
  --color-bg-tertiary: #1a1e28;
  --color-bg-card: #161a24;
  
  --color-text-primary: #f1f5f9;
  --color-text-secondary: #e2e8f0;
  --color-text-muted: #a8b5c4;
  
  --color-accent: #38bdf8;
  --color-accent-hover: #7dd3fc;
  --color-accent-dim: rgba(56, 189, 248, 0.15);
  
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-hover: rgba(255, 255, 255, 0.2);
  
  /* Gradients */
  --gradient-radial: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.12), transparent);
  --gradient-hero: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
  --gradient-card: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-tertiary) 100%);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  min-height: 100vh;
  font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
}
h2 { 
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}
h3 { 
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}
h4 { 
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  color: var(--color-text-secondary);
  max-width: 65ch;
  line-height: 1.65;
  font-size: 16px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-hover);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--space-2xl) 0;
}

/* Background Effects */
.bg-gradient {
  position: fixed;
  inset: 0;
  background: var(--gradient-radial);
  pointer-events: none;
  z-index: -1;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

/* Glowing Light Beams Animation */
.bg-lines {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bg-lines::before,
.bg-lines::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 20%,
    rgba(200, 230, 255, 0.6) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(200, 230, 255, 0.6) 60%,
    rgba(255, 255, 255, 0.1) 80%,
    transparent 100%
  );
  box-shadow: 
    0 0 10px rgba(200, 230, 255, 0.5),
    0 0 20px rgba(200, 230, 255, 0.3),
    0 0 40px rgba(200, 230, 255, 0.2),
    0 0 60px rgba(56, 189, 248, 0.1);
  border-radius: 50%;
  animation: glowingBeamMove 8s ease-in-out infinite;
}

.bg-lines::before {
  top: 25%;
  left: -300px;
  animation-delay: 0s;
}

.bg-lines::after {
  top: 65%;
  left: -300px;
  animation-delay: -4s;
}

@keyframes glowingBeamMove {
  0% {
    left: -300px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: calc(100vw + 300px);
    opacity: 0;
  }
}

/* Intelligence Core */
.intelligence-core {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: -1;
}

.core-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.8) 0%, rgba(56, 189, 248, 0.2) 50%, transparent 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 20px rgba(56, 189, 248, 0.6),
    0 0 40px rgba(56, 189, 248, 0.4),
    0 0 60px rgba(56, 189, 248, 0.2);
  animation: corePulse 4s ease-in-out infinite;
}

.core-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 2px solid rgba(56, 189, 248, 0.3);
  border-radius: 50%;
  animation: coreRipple 3s ease-out infinite;
}

@keyframes corePulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes coreRipple {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

/* Light Particles Container */
.light-particles-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.light-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 1);
  box-shadow: 
    0 0 4px rgba(255, 255, 255, 1),
    0 0 8px rgba(200, 230, 255, 0.9),
    0 0 12px rgba(56, 189, 248, 0.7),
    0 0 16px rgba(56, 189, 248, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Gentle Pulse Glow */
.bg-pulse {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    ellipse 50% 30% at 50% 50%,
    rgba(200, 230, 255, 0.05) 0%,
    rgba(56, 189, 248, 0.02) 30%,
    transparent 60%
  );
  animation: gentlePulse 12s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
    filter: blur(0px);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
    filter: blur(2px);
  }
}

/* Meteor Particles */
.meteors-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.meteor {
  position: absolute;
  width: 2px;
  height: 200px;
  background: linear-gradient(0deg, 
    rgba(56, 189, 248, 1) 0%,
    rgba(56, 189, 248, 0.8) 20%,
    rgba(56, 189, 248, 0.4) 50%,
    transparent 100%
  );
  box-shadow: 
    0 0 10px rgba(56, 189, 248, 0.8),
    0 0 20px rgba(56, 189, 248, 0.6),
    0 0 40px rgba(56, 189, 248, 0.3);
  border-radius: 50%;
  opacity: 0;
  transform-origin: bottom center;
}

.meteor::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 1);
  border-radius: 50%;
  box-shadow: 
    0 0 8px rgba(56, 189, 248, 1),
    0 0 16px rgba(56, 189, 248, 0.8),
    0 0 24px rgba(56, 189, 248, 0.6);
}

/* Glowing Light Streaks */
.bg-streaks {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bg-streaks span {
  position: absolute;
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.3) 20%,
    rgba(200, 230, 255, 0.8) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(200, 230, 255, 0.8) 55%,
    rgba(255, 255, 255, 0.3) 80%,
    transparent 100%
  );
  box-shadow: 
    0 0 8px rgba(255, 255, 255, 0.6),
    0 0 15px rgba(200, 230, 255, 0.4),
    0 0 30px rgba(56, 189, 248, 0.2);
  border-radius: 100px;
  animation: glowStreakMove ease-in-out infinite;
}

.bg-streaks span:nth-child(1) {
  width: 200px;
  top: 15%;
  left: -200px;
  animation-duration: 12s;
  animation-delay: 0s;
}

.bg-streaks span:nth-child(2) {
  width: 120px;
  top: 40%;
  left: -120px;
  animation-duration: 16s;
  animation-delay: -2s;
}

.bg-streaks span:nth-child(3) {
  width: 180px;
  top: 55%;
  left: -180px;
  animation-duration: 14s;
  animation-delay: -4s;
}

.bg-streaks span:nth-child(4) {
  width: 100px;
  top: 75%;
  left: -100px;
  animation-duration: 20s;
  animation-delay: -1s;
}

.bg-streaks span:nth-child(5) {
  width: 160px;
  top: 88%;
  left: -160px;
  animation-duration: 18s;
  animation-delay: -3s;
}

@keyframes glowStreakMove {
  0% {
    transform: translateX(0) scaleX(0.8);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateX(10vw) scaleX(1);
  }
  50% {
    opacity: 0.8;
  }
  90% {
    opacity: 1;
    transform: translateX(90vw) scaleX(1);
  }
  100% {
    transform: translateX(calc(100vw + 100%)) scaleX(0.8);
    opacity: 0;
  }
}

/* Additional Sparkle Positions */
.bg-orbs span:nth-child(4) {
  top: 70%;
  left: 60%;
  width: 2px;
  height: 2px;
  animation-delay: -0.5s;
  animation-duration: 20s;
}

.bg-orbs span:nth-child(5) {
  top: 10%;
  right: 25%;
  width: 3px;
  height: 3px;
  animation-delay: -3s;
  animation-duration: 18s;
}

.bg-orbs span:nth-child(6) {
  top: 85%;
  left: 20%;
  width: 2px;
  height: 2px;
  animation-delay: -1.5s;
  animation-duration: 7.6s;
}

/* Extra Sparkles Layer */
.bg-sparkles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bg-sparkles span {
  position: absolute;
  width: 1.5px;
  height: 1.5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 
    0 0 4px #fff,
    0 0 8px rgba(255, 255, 255, 1),
    0 0 12px rgba(200, 230, 255, 1),
    0 0 18px rgba(56, 189, 248, 0.8);
  animation: twinkle 4s ease-in-out infinite;
}

.bg-sparkles span:nth-child(1) {
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}

.bg-sparkles span:nth-child(2) {
  top: 25%;
  left: 75%;
  animation-delay: -0.3s;
  animation-duration: 5s;
}

.bg-sparkles span:nth-child(3) {
  top: 45%;
  left: 25%;
  animation-delay: -0.8s;
  animation-duration: 3.6s;
}

.bg-sparkles span:nth-child(4) {
  top: 60%;
  left: 85%;
  animation-delay: -1.2s;
  animation-duration: 4.4s;
}

.bg-sparkles span:nth-child(5) {
  top: 78%;
  left: 45%;
  animation-delay: -0.5s;
  animation-duration: 5.6s;
}

.bg-sparkles span:nth-child(6) {
  top: 35%;
  left: 92%;
  animation-delay: -1.5s;
  animation-duration: 3.8s;
}

.bg-sparkles span:nth-child(7) {
  top: 88%;
  left: 12%;
  animation-delay: -0.2s;
  animation-duration: 4.8s;
}

.bg-sparkles span:nth-child(8) {
  top: 5%;
  left: 55%;
  animation-delay: -1s;
  animation-duration: 4.2s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-divider__light {
    animation: none;
    opacity: 0;
  }
  
  .bg-lines::before,
  .bg-lines::after,
  .bg-orbs span,
  .bg-pulse,
  .bg-streaks span,
  .bg-sparkles span {
    animation: none;
    opacity: 0.2;
  }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-base);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: none;
}

.logo__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), #0ea5e9);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-bg-primary);
}

.logo__img {
  width: 280px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.footer__logo .logo__img {
  width: 220px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-text-primary);
  background: var(--color-accent-dim);
}

.nav__link--active {
  color: var(--color-accent);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: var(--space-md);
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  
  .nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav__link {
    width: 100%;
    padding: var(--space-sm);
    text-align: center;
  }
  
  .logo__img {
    width: 200px;
    height: auto;
  }
  
  .footer__logo .logo__img {
    width: 180px;
    height: auto;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(60px + var(--space-xl));
  background: var(--gradient-hero);
  overflow: hidden;
}

/* Hero Divider Line - Animated */
.hero-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero-divider__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
}

.hero-divider__light {
  position: absolute;
  top: 0;
  left: -200px;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #20C4AE 20%, 
    #20C4AE 80%, 
    transparent 100%);
  box-shadow: 0 0 20px rgba(32, 196, 174, 0.6), 
              0 0 40px rgba(32, 196, 174, 0.3);
  animation: data-flow 8s ease-in-out infinite;
  opacity: 0;
}

.hero-divider--top .hero-divider__light {
  animation: data-flow 8s ease-in-out infinite 4s;
}

@keyframes data-flow {
  0% {
    left: -200px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: calc(100% + 200px);
    opacity: 0;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent-dim) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

/* Hero Exploding Particles Animation */
.hero-particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 
    0 0 6px #fff,
    0 0 12px rgba(255, 255, 255, 1),
    0 0 18px rgba(200, 230, 255, 1),
    0 0 24px rgba(200, 230, 255, 0.7),
    0 0 30px rgba(56, 189, 248, 0.5);
  animation: explodeParticle 10s ease-out infinite;
}

/* Random positions and directions for each particle */
.particle--1 {
  top: 25%;
  left: 15%;
  animation-delay: 0s;
  --tx: -80px;
  --ty: -60px;
}
.particle--2 {
  top: 35%;
  left: 75%;
  animation-delay: -0.4s;
  --tx: 90px;
  --ty: -50px;
}
.particle--3 {
  top: 55%;
  left: 25%;
  animation-delay: -0.8s;
  --tx: -70px;
  --ty: 80px;
}
.particle--4 {
  top: 70%;
  left: 65%;
  animation-delay: -1.2s;
  --tx: 60px;
  --ty: 70px;
}
.particle--5 {
  top: 20%;
  left: 45%;
  animation-delay: -1.6s;
  --tx: -40px;
  --ty: -90px;
}
.particle--6 {
  top: 45%;
  left: 85%;
  animation-delay: -2s;
  --tx: 100px;
  --ty: 20px;
}
.particle--7 {
  top: 65%;
  left: 10%;
  animation-delay: -2.4s;
  --tx: -90px;
  --ty: 50px;
}
.particle--8 {
  top: 30%;
  left: 55%;
  animation-delay: -2.8s;
  --tx: 50px;
  --ty: -80px;
}
.particle--9 {
  top: 80%;
  left: 40%;
  animation-delay: -3.2s;
  --tx: -60px;
  --ty: 90px;
}
.particle--10 {
  top: 40%;
  left: 20%;
  animation-delay: -3.6s;
  --tx: -100px;
  --ty: -30px;
}
.particle--11 {
  top: 50%;
  left: 70%;
  animation-delay: -4s;
  --tx: 80px;
  --ty: 60px;
}
.particle--12 {
  top: 15%;
  left: 60%;
  animation-delay: -4.4s;
  --tx: 70px;
  --ty: -70px;
}

@keyframes explodeParticle {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  8% {
    transform: translate(0, 0) scale(1.5);
    opacity: 1;
    box-shadow: 
      0 0 12px #fff,
      0 0 24px rgba(255, 255, 255, 1),
      0 0 40px rgba(200, 230, 255, 1),
      0 0 55px rgba(200, 230, 255, 0.9),
      0 0 70px rgba(56, 189, 248, 0.7);
  }
  25% {
    opacity: 0.9;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0.2);
    opacity: 0;
  }
}

/* Additional sparkle burst effect */
.particle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  animation: sparkBurst 10s ease-out infinite;
  animation-delay: inherit;
}

@keyframes sparkBurst {
  0%, 3% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  8% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 1;
  }
  20% {
    transform: translate(-50%, -50%) scale(5);
    opacity: 0.3;
  }
  100% {
    opacity: 0;
  }
}

/* Floating Tech Icons */
.hero-tech-icons {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Iron Dome Particles */
.iron-dome-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.iron-dome-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 
    0 0 4px rgba(56, 189, 248, 1),
    0 0 8px rgba(56, 189, 248, 0.8),
    0 0 12px rgba(56, 189, 248, 0.6);
  opacity: 0.9;
  transition: transform 0.1s linear, opacity 0.3s ease;
}

.tech-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(210, 230, 250, 0.55);
  filter: drop-shadow(0 0 12px rgba(200, 230, 255, 0.8)) drop-shadow(0 0 20px rgba(56, 189, 248, 0.5));
  animation: floatIcon 16s ease-in-out infinite;
  cursor: pointer;
  transition: color 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.tech-icon:hover {
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 0 20px rgba(200, 230, 255, 1)) drop-shadow(0 0 40px rgba(56, 189, 248, 0.8));
  transform: scale(1.3);
  animation-play-state: paused;
}

.tech-icon svg {
  width: 100%;
  height: 100%;
}

/* Random positions for each icon */
.tech-icon--1 {
  top: 15%;
  left: 8%;
  width: 50px;
  height: 50px;
  animation-delay: 0s;
  animation-duration: 20s;
}

.tech-icon--2 {
  top: 25%;
  right: 12%;
  width: 45px;
  height: 45px;
  animation-delay: -1s;
  animation-duration: 18s;
}

.tech-icon--3 {
  top: 60%;
  left: 5%;
  width: 35px;
  height: 35px;
  animation-delay: -2s;
  animation-duration: 22s;
}

.tech-icon--4 {
  top: 75%;
  right: 8%;
  width: 42px;
  height: 42px;
  animation-delay: -3s;
  animation-duration: 16s;
}

.tech-icon--5 {
  top: 40%;
  left: 12%;
  width: 38px;
  height: 38px;
  animation-delay: -4s;
  animation-duration: 24s;
}

.tech-icon--6 {
  top: 20%;
  right: 25%;
  width: 48px;
  height: 48px;
  animation-delay: -5s;
  animation-duration: 20s;
}

.tech-icon--7 {
  top: 70%;
  left: 18%;
  width: 36px;
  height: 36px;
  animation-delay: -6s;
  animation-duration: 18s;
}

.tech-icon--8 {
  top: 50%;
  right: 5%;
  width: 44px;
  height: 44px;
  animation-delay: -7s;
  animation-duration: 22s;
}

.tech-icon--9 {
  top: 85%;
  left: 35%;
  width: 32px;
  height: 32px;
  animation-delay: -2.5s;
  animation-duration: 16s;
}

.tech-icon--10 {
  top: 30%;
  left: 25%;
  width: 34px;
  height: 34px;
  animation-delay: -4.5s;
  animation-duration: 20s;
}

@keyframes floatIcon {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    filter: drop-shadow(0 0 10px rgba(200, 230, 255, 0.4)) drop-shadow(0 0 15px rgba(56, 189, 248, 0.3));
  }
  20% {
    opacity: 0.7;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 18px rgba(200, 230, 255, 0.9)) drop-shadow(0 0 25px rgba(56, 189, 248, 0.6));
  }
  50% {
    opacity: 0.65;
    transform: translateY(-15px) scale(1.05);
    filter: drop-shadow(0 0 22px rgba(200, 230, 255, 1)) drop-shadow(0 0 30px rgba(56, 189, 248, 0.7));
  }
  80% {
    opacity: 0.7;
    transform: translateY(-5px) scale(1);
    filter: drop-shadow(0 0 18px rgba(200, 230, 255, 0.9)) drop-shadow(0 0 25px rgba(56, 189, 248, 0.6));
  }
  100% {
    opacity: 0;
    transform: translateY(-25px) scale(0.8);
    filter: drop-shadow(0 0 10px rgba(200, 230, 255, 0.4)) drop-shadow(0 0 15px rgba(56, 189, 248, 0.3));
  }
}

/* Responsive - hide some icons on mobile */
@media (max-width: 768px) {
  .tech-icon {
    width: 30px;
    height: 30px;
  }
  
  .tech-icon--5,
  .tech-icon--6,
  .tech-icon--9,
  .tech-icon--10 {
    display: none;
  }
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 16px;
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-full);
}

.hero__title {
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.25rem;
  margin: 0 auto var(--space-lg);
  max-width: 600px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.5;
}

.btn--primary {
  color: var(--color-bg-primary);
  background: linear-gradient(135deg, var(--color-accent), #0ea5e9);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.btn--primary:hover {
  color: var(--color-bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.4);
}

.btn--secondary {
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn--secondary:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-card);
  border-color: var(--color-border-hover);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Cards */
.card {
  padding: var(--space-lg);
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  border-radius: var(--radius-sm);
}

.card__title {
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.card__description {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section-header__label {
  display: inline-block;
  margin-bottom: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-header__title {
  margin-bottom: var(--space-sm);
}

.section-header__description {
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

/* About Page */
.page-hero {
  padding: calc(70px + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
  background: var(--gradient-hero);
}

.page-hero__title {
  margin-bottom: var(--space-sm);
}

.page-hero__description {
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* Content Sections */
.content-section {
  padding: var(--space-xl) 0;
}

.content-section--alt {
  background: var(--color-bg-secondary);
}

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.content-block--reverse {
  direction: rtl;
}

.content-block--reverse > * {
  direction: ltr;
}

.content-block__text h3 {
  margin-bottom: var(--space-sm);
}

.content-block__text p {
  margin-bottom: var(--space-sm);
}

.content-block__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (max-width: 768px) {
  .content-block {
    grid-template-columns: 1fr;
  }
  
  .content-block--reverse {
    direction: ltr;
  }
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.value-card {
  text-align: center;
  padding: var(--space-lg);
}

.value-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 2rem;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  border-radius: var(--radius-md);
}

.value-card__title {
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Form */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
}

.contact-info {
  padding: var(--space-lg);
}

.contact-info__title {
  margin-bottom: var(--space-md);
}

.contact-info__text {
  margin-bottom: var(--space-lg);
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.contact-info__item svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.contact-form {
  padding: var(--space-lg);
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

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

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

@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

/* Privacy Policy */
.policy-content {
  padding: var(--space-xl) 0;
}

.policy-content h2 {
  font-size: 1.5rem;
  margin: var(--space-lg) 0 var(--space-sm);
  color: var(--color-text-primary);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin-bottom: var(--space-sm);
}

.policy-content ul {
  margin: var(--space-sm) 0 var(--space-sm) var(--space-lg);
  color: var(--color-text-secondary);
}

.policy-content li {
  margin-bottom: var(--space-xs);
}

/* Footer */
.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  margin-left: 0;
  padding-left: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: none;
}

.footer__logo .logo__img {
  margin: 0;
  padding: 0;
}

.footer__description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}

.footer__contact {
  margin-top: var(--space-sm);
  margin-left: 0;
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: left;
}

.footer__contact a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.footer__contact a:hover {
  color: var(--color-accent-hover);
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__column h4 {
  margin-bottom: var(--space-sm);
  margin-top: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.footer__links li {
  margin-bottom: var(--space-xs);
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer__bottom p {
  margin: 0;
  margin-bottom: 0.25rem;
}

.footer__bottom p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer__brand {
    align-items: flex-start;
  }
  
  .footer__column {
    align-items: flex-start;
  }
  
  .footer__bottom {
    text-align: left;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Utility Classes */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* Selection */
::selection {
  background: var(--color-accent);
  color: var(--color-bg-primary);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

