* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0a0a1a;
  color: #e2e8f0;
  overflow-x: hidden;
}

::selection {
  background: #6366f1;
  color: white;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e1e2e;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
  border-radius: 10px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(20px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.logo {
  font-weight: 700;
  font-size: 22px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links a {
  margin: 0 18px;
  text-decoration: none;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #e2e8f0;
}

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

.btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
}

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

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.hero {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0f0f23 100%);
  color: white;
  padding: 140px 60px 120px;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 40%);
  animation: float 15s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-2%, 2%) rotate(1deg); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.hero-text {
  max-width: 550px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

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

.hero-text h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  margin-top: 20px;
  color: #a5b4fc;
  line-height: 1.7;
  font-size: 17px;
}

.hero-btn {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.hero-btn svg {
  transition: transform 0.3s;
}

.hero-btn:hover svg {
  transform: translateX(4px);
}

.hero img {
  width: 450px;
  max-width: 100%;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out 0.3s both;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
}

.stats {
  display: flex;
  justify-content: center;
  margin-top: -80px;
  padding: 0 60px;
  flex-wrap: wrap;
  gap: 25px;
  position: relative;
  z-index: 10;
}

.stat {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  padding: 28px 35px;
  border-radius: 20px;
  text-align: center;
  width: 200px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.4s;
  animation: fadeInUp 0.8s ease-out both;
}

.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.3s; }
.stat:nth-child(4) { animation-delay: 0.4s; }

.stat:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
  background: rgba(99, 102, 241, 0.08);
}

.stat h2 {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 32px;
  font-weight: 800;
}

.stat p {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
  font-weight: 500;
}

.section-title {
  text-align: center;
  margin: 100px 0 50px;
  font-size: 28px;
  font-weight: 700;
  color: #f8fafc;
  animation: fadeInUp 0.8s ease-out;
}

.section-title span {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services {
  display: flex;
  gap: 30px;
  padding: 0 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.services .card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 35px 30px;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out both;
}

.services .card:nth-child(1) { animation-delay: 0.1s; }
.services .card:nth-child(2) { animation-delay: 0.2s; }
.services .card:nth-child(3) { animation-delay: 0.3s; }

.services .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #a855f7, #6366f1);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

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

.services .card:hover {
  transform: translateY(-10px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
  background: rgba(99, 102, 241, 0.05);
}

.services .card img {
  width: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
  transition: transform 0.4s;
}

.services .card:hover img {
  transform: scale(1.1) rotate(5deg);
}

.services .card h3 {
  margin-top: 15px;
  color: #f8fafc;
  font-size: 20px;
  font-weight: 600;
}

.services .card p {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.cta {
  margin: 100px 60px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
  color: white;
  padding: 70px 50px;
  border-radius: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.cta h2 {
  margin-bottom: 15px;
  font-size: 30px;
  font-weight: 700;
  position: relative;
}

.cta p {
  max-width: 600px;
  margin: auto;
  color: #c7d2fe;
  line-height: 1.7;
  font-size: 16px;
  position: relative;
}

.process {
  padding: 100px 60px;
  text-align: center;
  position: relative;
}

.process h2 {
  color: #f8fafc;
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

.process-steps {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #a855f7, #6366f1, #a855f7);
  background-size: 300% 100%;
  animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 0; }
  100% { background-position: 300% 0; }
}

.step {
  flex: 1;
  min-width: 120px;
  max-width: 160px;
  animation: fadeInUp 0.8s ease-out both;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

.circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  border-radius: 50%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 12px;
  border: 2px solid #6366f1;
  position: relative;
  transition: all 0.4s;
}

.circle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #a855f7;
  border-right-color: #a855f7;
  animation: spin 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.step:hover .circle::after {
  opacity: 1;
}

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

.step:hover .circle {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, #6366f1, #a855f7);
}

.step p {
  margin-top: 15px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}

.step:hover p {
  color: #f8fafc;
}

.why {
  background: linear-gradient(135deg, #0f0f23, #1a1a3e);
  color: white;
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.why h2 {
  margin-bottom: 50px;
  font-size: 28px;
  text-align: center;
  font-weight: 700;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  padding: 30px 25px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.4s;
  text-align: center;
  animation: fadeInUp 0.8s ease-out both;
}

.why-box:nth-child(1) { animation-delay: 0.1s; }
.why-box:nth-child(2) { animation-delay: 0.2s; }
.why-box:nth-child(3) { animation-delay: 0.3s; }
.why-box:nth-child(4) { animation-delay: 0.4s; }

.why-box:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

.why-box svg {
  display: block;
  margin: 0 auto 15px;
  opacity: 0.8;
}

.testimonial {
  padding: 100px 60px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  padding: 35px;
  border-radius: 24px;
  flex: 1;
  min-width: 300px;
  max-width: 420px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.4s;
  animation: fadeInUp 0.8s ease-out both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.12);
  background: rgba(99, 102, 241, 0.05);
}

.testimonial-card p {
  color: #94a3b8;
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
}

.testimonial-card::before {
  content: '"';
  font-size: 60px;
  color: #6366f1;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.footer {
  background: linear-gradient(135deg, #0f0f23, #1a1a3e);
  color: white;
  padding: 70px 60px 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer h4 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer p:hover {
  color: #a855f7;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  text-align: center;
  font-size: 13px;
  color: #475569;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 25px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 100px 25px 80px;
    flex-direction: column;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
  }
  
  .hero-text h1 {
    font-size: 28px;
  }
  
  .hero img {
    width: 100%;
    margin-top: 40px;
  }
  
  .stats {
    padding: 0 20px;
    margin-top: -50px;
  }
  
  .stat {
    width: 150px;
    padding: 20px;
  }
  
  .section-title {
    font-size: 22px;
    padding: 0 20px;
  }
  
  .services,
  .cta,
  .process,
  .testimonial,
  .footer {
    padding: 60px 25px;
  }
  
  .why {
    padding: 60px 25px;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps::before {
    display: none;
  }
  
  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }
}