* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-purple: #9146ff;
  --dark-purple: #5a2e91;
  --blood-red: #dc143c;
  --shadow-blue: #1a1a2e;
  --frost-blue: #00d4ff;
  --gold: #ffd700;
  --dark-bg: #0a0a0f;
  --card-bg: rgba(26, 26, 46, 0.7);
  --accent-color: #F59E0B;
  --text-light: #E5E7EB;
  --text-muted: #9CA3AF;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}


.bg-animation {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2;
  background: linear-gradient(45deg, #0a0a0f, #1a1a2e, #2d1b69);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

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


.particles {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--frost-blue);
  border-radius: 50%;
  opacity: 0;
  animation: float 10s infinite;
  box-shadow: 0 0 10px var(--frost-blue);
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}


.navbar {
  position: fixed;
  width: 100%;
  padding: 20px 0;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(145, 70, 255, 0.3);
}

.navbar.scrolled {
  padding: 15px 0;
  background: rgba(10, 10, 15, 0.95);
}

.navbar-brand {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(45deg, var(--primary-purple), var(--frost-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(145, 70, 255, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
  text-decoration: none;
}

@keyframes glow {
  from { text-shadow: 0 0 30px rgba(145, 70, 255, 0.5); }
  to { text-shadow: 0 0 40px rgba(145, 70, 255, 0.8), 0 0 50px rgba(0, 212, 255, 0.5); }
}

.navbar-brand img {
  height: 40px;
  filter: brightness(1.2);
  margin-right: 10px;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0 !important;
}

.nav-item {
  margin-left: 2rem;
}

.nav-item:first-child {
  margin-left: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--frost-blue);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-purple) !important;
}


.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

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

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(45deg, var(--primary-purple), var(--blood-red), var(--frost-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--text-muted);
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-light);
  opacity: 0.8;
}

.btn-gradient {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(45deg, var(--primary-purple), var(--dark-purple));
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(145, 70, 255, 0.4);
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(145, 70, 255, 0.6);
  color: white;
}


.features-section {
  padding: 6rem 0;
  background: rgba(30, 30, 58, 0.3);
  backdrop-filter: blur(10px);
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(145, 70, 255, 0.3);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(145, 70, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--frost-blue);
  box-shadow: 0 20px 40px rgba(145, 70, 255, 0.3);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-purple), var(--frost-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  animation: iconFloat 3s ease-in-out infinite;
}

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

/* Service Cards */
.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(145, 70, 255, 0.3);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(145, 70, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--frost-blue);
  box-shadow: 0 15px 30px rgba(145, 70, 255, 0.2);
}

.service-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
}

.service-content {
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.service-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--frost-blue);
}

.service-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--gold);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, var(--frost-blue), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-section {
  padding: 80px 0;
  background: rgba(26, 26, 46, 0.5);
  backdrop-filter: blur(10px);
}

.stat-box {
  padding: 30px;
  background: rgba(145, 70, 255, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(145, 70, 255, 0.3);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.stat-box:hover {
  background: rgba(145, 70, 255, 0.2);
  transform: scale(1.05);
  border-color: var(--frost-blue);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(45deg, var(--gold), var(--frost-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

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

.footer {
  background: var(--shadow-blue);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(145, 70, 255, 0.3);
}

.social-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-light);
  text-decoration: none;
  padding: 1rem;
  border-radius: 15px;
  background: var(--card-bg);
  border: 1px solid rgba(145, 70, 255, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  color: var(--frost-blue);
  border-color: var(--primary-purple);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(145, 70, 255, 0.3);
}

.social-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-purple), var(--frost-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.5rem;
  color: white;
}

.footer-copyright {
  background: rgba(10, 10, 15, 0.9);
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 2px solid rgba(145, 70, 255, 0.5);
}

.footer-copyright p {
  color: var(--text-light) !important;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-copyright .text-muted {
  color: var(--text-muted) !important;
  opacity: 1 !important;
  font-size: 0.9rem;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(145, 70, 255, 0.25);
}


@media (max-width: 991px) {
  .navbar-collapse {
    background-color: rgba(10, 10, 15, 0.95);
    padding: 1rem 0;
    margin-top: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(145, 70, 255, 0.3);
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
}