/* Modern CSS Reset and Base Styles */
:root {
  --primary: #646cff;
  --primary-hover: #535bf2;
  --bg-dark: #13151a;
  --bg-card: #101218; 
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --border-radius: 12px;
}

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

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

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(19, 21, 26, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary), #9f9fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight {
  background: linear-gradient(45deg, var(--primary), #9f9fff);
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  color: white !important;
}

.nav-cta:hover {
  background: var(--primary-hover);
}

.nav-toggle {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--spacing-lg);
  background: radial-gradient(circle at 50% 50%, rgba(100, 108, 255, 0.1), transparent 50%);
  text-align: center;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  background: linear-gradient(45deg, #fff, #9f9fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
}


/* Features Section */
.features {
  padding: var(--spacing-lg) var(--spacing-lg);
  background: var(--bg-dark);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(45deg, #fff, #9f9fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.feature-card h3 {
  margin-bottom: var(--spacing-sm);
  color: white;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Stats Section */
.stats {
  padding: var(--spacing-lg);
  background: linear-gradient(to bottom, var(--bg-dark), var(--bg-dark));
}

.stats h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(45deg, #fff, #9f9fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* border-color: #8e44ad; */

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  transition: all 1s ease-out;
}

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

/* Pricing Section */
.pricing {
  padding: var(--spacing-lg);
  background: var(--bg-dark);
}

.pricing h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(45deg, #fff, #9f9fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.popular {
  background: linear-gradient(45deg, var(--bg-card), #2a2d35);
  border: 2px solid var(--primary);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-lg);
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
}

.features-list {
  text-align: left;
  list-style: inside;
  margin-bottom: var(--spacing-lg);
}

.features-list li {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

.subscribe-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: medium;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe-btn:hover {
  background: var(--primary-hover);
}

/* Test API Section */
.test-api {
  padding: var(--spacing-lg);
  background: var(--bg-dark);
  text-align: center;
  margin-top: var(--spacing-lg);
  border-radius: var(--border-radius);
}

.test-api h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(45deg, #fff, #9f9fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.test-api p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-secondary);
}

.test-api .cta-button {
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.test-api .cta-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}



/* Our Partners Section */
.partners {
  padding: var(--spacing-lg);
  background: var(--bg-dark);
  text-align: center;
}

.partners h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(45deg, #fff, #9f9fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Carousel Styles */
.carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex-shrink: 0;
  width: 25%; /* 4 items per slide by default */
  padding: 0 var(--spacing-sm);
}

.carousel-item img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .carousel-item {
    width: 33.33%; /* 3 items per slide on tablets */
  }
}

@media (max-width: 768px) {
  .carousel-item {
    width: 50%; /* 2 items per slide on mobile */
  }
}

@media (max-width: 480px) {
  .carousel-item {
    width: 100%; /* 1 item per slide on very small screens */
  }
}



/* Footer */
.footer {
  background-color: var(--bg-card);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 2px;  /* Add a bit of space below the text */
}

.footer-links a:hover {
  color: white;
  border-bottom: 2px solid white;  /* Underline on hover */
}

.footer-bottom {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}


.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-links a {
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-lg);
}


/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: var(--spacing-md);
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    position: relative;
    transition: background 0.3s ease;
  }

  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    transition: transform 0.3s ease;
  }

  .hamburger::before {
    transform: translateY(-8px);
  }

  .hamburger::after {
    transform: translateY(8px);
  }

  .nav-toggle.active .hamburger {
    background: transparent;
  }

  .nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
  }

  .nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

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

.hero-content,
.feature-card,
.stat-card,
.pricing-card {
  animation: fadeIn 0.8s ease-out forwards;
}