/* Cyberpunk Color Variables */
:root {
  /* Cyberpunk Color Palette */
  --neon-magenta: #FF0066;
  --electric-cyan: #00FFFF;
  --deep-space: #0C0C12;
  --void-black: #000000;
  --plasma-white: #FFFFFF;
  --neon-pink-glow: #FF33AA;
  --cyan-mist: #33FFFF;
  --magenta-shadow: #CC0055;
  --cyan-deep: #0099CC;
  --neural-gray: #1A1A2E;
  --circuit-gray: #16213E;
  --data-stream: #0F3460;
  
  /* Semantic Colors */
  --success: #00FF88;
  --warning: #FFCC00;
  --error: #FF3366;
  --info: #3366FF;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: var(--deep-space);
  color: var(--plasma-white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
}

/* Cyberpunk Animations */
@keyframes neon-pulse {
  0%, 100% {
    text-shadow: 
      0 0 2px currentColor,
      0 0 4px currentColor,
      0 0 6px currentColor;
  }
  50% {
    text-shadow: 
      0 0 4px currentColor,
      0 0 8px currentColor,
      0 0 12px currentColor;
  }
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

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

@keyframes glow-pulse {
  0%, 100% { 
    box-shadow: 0 0 5px currentColor, 0 0 10px currentColor;
  }
  50% { 
    box-shadow: 0 0 20px currentColor, 0 0 30px currentColor, 0 0 40px currentColor;
  }
}

@keyframes particle-float {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    opacity: 0.3;
  }
  50% { 
    transform: translateY(-30px) scale(1.2);
    opacity: 0.8;
  }
}

/* Cyberpunk Utility Classes */
.neon-text {
  text-shadow: 
    0 0 2px currentColor,
    0 0 4px currentColor,
    0 0 6px var(--neon-magenta);
}

.neon-text-cyan {
  color: var(--electric-cyan);
  text-shadow: 
    0 0 2px currentColor,
    0 0 4px currentColor,
    0 0 6px var(--electric-cyan);
}

.neon-text-subtle {
  color: var(--electric-cyan);
  text-shadow: 
    0 0 3px currentColor,
    0 0 6px currentColor;
}

.animate-neon-pulse {
  animation: neon-pulse 2s ease-in-out infinite;
}

.animate-glitch {
  animation: glitch 0.3s ease-in-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow-pulse {
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Glass Morphism */
.glass-morphism {
  background: rgba(22, 33, 62, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.neon-border {
  border: 1px solid var(--electric-cyan);
  box-shadow: 
    0 0 5px rgba(0, 255, 255, 0.3),
    inset 0 0 5px rgba(0, 255, 255, 0.1);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid;
  background: transparent;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
}

.btn-primary:hover {
  color: var(--plasma-white);
  box-shadow: 0 0 20px var(--neon-magenta);
  background: rgba(255, 0, 102, 0.1);
}

.btn-secondary {
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
}

.btn-secondary:hover {
  color: var(--plasma-white);
  box-shadow: 0 0 20px var(--electric-cyan);
  background: rgba(0, 255, 255, 0.1);
}

.btn-outline {
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
}

.btn-outline:hover {
  color: var(--plasma-white);
  box-shadow: 0 0 15px var(--electric-cyan);
  background: rgba(0, 255, 255, 0.1);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 12, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

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

.brand-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--electric-cyan);
  text-shadow: 
    0 0 2px currentColor,
    0 0 4px currentColor;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--plasma-white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--electric-cyan);
  text-shadow: 
    0 0 2px currentColor,
    0 0 4px currentColor;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: var(--electric-cyan);
  margin: 3px 0;
  transition: 0.3s;
  box-shadow: 0 0 5px currentColor;
}

.mobile-nav {
  display: none;
  background: rgba(12, 12, 18, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  padding: 20px;
}

.mobile-nav-link {
  display: block;
  color: var(--plasma-white);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--electric-cyan);
}

.mobile-btn {
  margin-top: 20px;
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--deep-space) 0%, var(--neural-gray) 50%, var(--circuit-gray) 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-particles::before,
.floating-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--electric-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
  animation: particle-float 4s ease-in-out infinite;
}

.floating-particles::before {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.floating-particles::after {
  top: 60%;
  right: 30%;
  animation-delay: 2s;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 30px;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid var(--electric-cyan);
  border-bottom: 2px solid var(--electric-cyan);
  transform: rotate(45deg);
  animation: float 2s ease-in-out infinite;
  box-shadow: 0 0 10px currentColor;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.section-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services Section */
.services {
  background: var(--deep-space);
}

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

.service-card {
  background: rgba(22, 33, 62, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--electric-cyan);
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.3),
    inset 0 0 20px rgba(0, 255, 255, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px currentColor);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--electric-cyan);
}

.service-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 25px;
}

.tech-tag {
  background: var(--neural-gray);
  color: var(--electric-cyan);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Portfolio Section */
.portfolio {
  background: var(--neural-gray);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.portfolio-card {
  background: rgba(22, 33, 62, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  border-color: var(--electric-cyan);
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.3),
    inset 0 0 20px rgba(0, 255, 255, 0.1);
  transform: translateY(-5px);
}

.portfolio-image {
  height: 200px;
  background: linear-gradient(135deg, var(--circuit-gray), var(--data-stream));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-placeholder {
  font-size: 4rem;
  opacity: 0.6;
  filter: drop-shadow(0 0 10px currentColor);
  margin-bottom: 10px;
}

.placeholder-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
}

.portfolio-content {
  padding: 25px;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--electric-cyan);
}

.portfolio-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  line-height: 1.6;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

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

/* Tech Showcase */
.tech-showcase {
  background: var(--deep-space);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 50px;
}

.tech-item {
  background: rgba(22, 33, 62, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: var(--electric-cyan);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tech-item:hover {
  border-color: var(--electric-cyan);
  box-shadow: 
    0 0 15px rgba(0, 255, 255, 0.3),
    inset 0 0 15px rgba(0, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

/* About Section */
.about-section {
  background: var(--neural-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-image {
  display: flex;
  justify-content: center;
}

.profile-placeholder {
  background: rgba(22, 33, 62, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  width: 100%;
  max-width: 350px;
  transition: all 0.3s ease;
}

.profile-placeholder:hover {
  border-color: var(--electric-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.profile-icon {
  font-size: 8rem;
  margin-bottom: 20px;
  opacity: 0.6;
  filter: drop-shadow(0 0 10px currentColor);
}

.profile-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-style: italic;
}

.about-text {
  max-width: 700px;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.about-description strong {
  color: var(--electric-cyan);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(22, 33, 62, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: var(--electric-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--electric-cyan);
  font-family: 'Orbitron', monospace;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.trusted-by {
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.trusted-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.client-logo {
  background: rgba(22, 33, 62, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  padding: 30px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.client-logo:hover {
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* CTA Section */
.cta-section {
  background: var(--deep-space);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Footer */
.footer {
  background: var(--deep-space);
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  color: var(--electric-cyan);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--electric-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-buttons {
    flex-direction: column;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .service-card,
  .portfolio-card {
    padding: 20px;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--deep-space);
}

::-webkit-scrollbar-thumb {
  background: var(--electric-cyan);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--electric-cyan);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-magenta);
  box-shadow: 0 0 15px var(--neon-magenta);
}

/* Selection Styling */
::selection {
  background: var(--neon-magenta);
  color: var(--plasma-white);
  text-shadow: none;
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--electric-cyan);
  outline-offset: 4px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* Reduced Motion Support */
@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;
  }
  
  .animate-neon-pulse,
  .animate-glitch,
  .animate-float,
  .animate-glow-pulse {
    animation: none;
  }
}
