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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(96, 165, 250, 0.3);
  border-top: 3px solid #60a5fa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 3px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
}

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

.logo {
  height: 32px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  text-transform: capitalize;
  position: relative;
}

.nav-link:hover {
  color: #60a5fa;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #60a5fa;
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 32px;
  max-width: 500px;
  z-index: 10;
}

.hero-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.scroll-indicator:hover {
  background: rgba(96, 165, 250, 0.2);
}

.scroll-indicator i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 2rem;
  text-align: center;
}

/* About Section */
.about-section {
  background: rgba(17, 24, 39, 0.5);
}

.about-text {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: #d1d5db;
  line-height: 1.8;
  text-align: center;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 3rem;
}

.product-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.product-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.product-card i {
  font-size: 3rem;
  color: #60a5fa;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.product-card:hover i {
  transform: scale(1.1);
}

.product-card h3 {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Why Us Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: linear-gradient(135deg, #1f2937, #000);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-card i {
  font-size: 4rem;
  color: #60a5fa;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover i {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.feature-card p {
  color: #d1d5db;
  line-height: 1.6;
}

/* Journey Section */
.journey-section {
  background: rgba(17, 24, 39, 0.5);
}

/* Desktop Timeline */
.timeline-desktop {
  display: block;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #3b82f6, #06b6d4, #10b981, #f59e0b, #8b5cf6);
  transform: translateX(-50%);
  border-radius: 2px;
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  min-height: 120px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content {
  width: 45%;
  padding: 0 2rem;
}

.timeline-content.left {
  text-align: right;
}

.timeline-content.right {
  text-align: left;
}

.timeline-spacer {
  width: 45%;
}

.timeline-card {
  background: linear-gradient(135deg, #1f2937, #111827);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.timeline-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid #fff;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.marker-dot {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
}

.timeline-marker.blue {
  background: #3b82f6;
}
.timeline-marker.cyan {
  background: #06b6d4;
}
.timeline-marker.emerald {
  background: #10b981;
}
.timeline-marker.amber {
  background: #f59e0b;
}
.timeline-marker.purple {
  background: #8b5cf6;
}

/* Mobile Timeline */
.timeline-mobile {
  display: none;
  position: relative;
  padding-left: 2rem;
}

.timeline-mobile::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #3b82f6, #06b6d4, #10b981, #f59e0b, #8b5cf6);
  border-radius: 2px;
}

.mobile-timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.mobile-marker {
  position: absolute;
  left: -28px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.mobile-marker .marker-dot {
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
}

.mobile-marker.blue {
  background: #3b82f6;
}
.mobile-marker.cyan {
  background: #06b6d4;
}
.mobile-marker.emerald {
  background: #10b981;
}
.mobile-marker.amber {
  background: #f59e0b;
}
.mobile-marker.purple {
  background: #8b5cf6;
}

.mobile-content {
  background: linear-gradient(135deg, #1f2937, #111827);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  flex: 1;
  margin-left: 1rem;
}

.year {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.year.blue {
  color: #60a5fa;
}
.year.cyan {
  color: #22d3ee;
}
.year.emerald {
  color: #34d399;
}
.year.amber {
  color: #fbbf24;
}
.year.purple {
  color: #a78bfa;
}

.timeline-card h3,
.mobile-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.timeline-card p,
.mobile-content p {
  color: #d1d5db;
  line-height: 1.7;
}

/* Partners/Resellers Section */
.partners-carousel-container {
  overflow: hidden;
  position: relative;
}

.partners-carousel {
  display: flex;
  gap: 1.5rem;
  animation: scroll-horizontal 20s linear infinite;
  width: calc(200% + 1.5rem);
}

.partners-carousel:hover {
  animation-play-state: paused;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  flex-shrink: 0;
  width: 120px;
  height: 70px;
  background: #374151;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.partner-logo:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.partner-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #9ca3af;
}

/* Achievements Section */
.achievements-section {
  background: rgba(17, 24, 39, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease;
}

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

.stat-item i {
  font-size: 3rem;
  color: #60a5fa;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.stat-item:hover i {
  transform: scale(1.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: "Inter", monospace;
}

.stat-label {
  color: #d1d5db;
  font-weight: 500;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.contact-card {
  background: linear-gradient(135deg, #1f2937, #000);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #d1d5db;
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: #60a5fa;
}

.contact-item i {
  color: #60a5fa;
  width: 20px;
  font-size: 1.1rem;
}

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

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Footer */
.footer {
  background: #000;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-links a {
  color: #9ca3af;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
}

.social-links a:hover {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  transform: translateY(-2px);
}

.footer p {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    backdrop-filter: blur(10px);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-content {
    left: 20px;
    bottom: 60px;
    max-width: calc(100% - 40px);
  }

  .hero-content h1 {
    font-size: 1.25rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  /* Show mobile timeline, hide desktop timeline */
  .timeline-desktop {
    display: none;
  }

  .timeline-mobile {
    display: block;
  }

  .features-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-card {
    padding: 1.5rem;
  }

  .product-card i {
    font-size: 2rem;
  }

  .partner-logo {
    width: 90px;
    height: 50px;
    min-width: 90px;
  }

  .partner-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  section {
    padding: 60px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 1.1rem;
  }

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

  .product-grid {
    grid-template-columns: 1fr;
  }

  .social-links {
    gap: 1rem;
  }

  .partner-logo {
    width: 80px;
    height: 45px;
    min-width: 80px;
  }

  .partner-text {
    font-size: 0.65rem;
  }
}

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

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

/* Utility Classes */
.text-center {
  text-align: center;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
