body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0f1f;
  color: #e0e0e0;
}

.hero-bg {
  background-color: #0a0f1f;
  background-image: radial-gradient(circle at 15% 50%, rgba(19, 41, 92, 0.3), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(29, 53, 112, 0.2), transparent 40%);
}

.glass-card {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.accent-gradient {
  background: linear-gradient(90deg, #3b82f6, #818cf8);
}

.cta-button {
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}

.section-title {
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: #3b82f6;
}


.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}


@media (max-width: 768px) {
  .chart-container {
    height: 250px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .chart-container canvas {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .chart-container {
    height: 220px;
    padding: 0 5px;
  }
}

/* Limited Time Badge Animations */
@keyframes urgency-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 0 40px rgba(251, 146, 60, 0.4);
  }

  50% {
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.8), 0 0 60px rgba(251, 146, 60, 0.6);
  }
}

@keyframes badge-bounce {

  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }

  40%,
  43% {
    transform: translate(-50%, -5px);
  }

  70% {
    transform: translate(-50%, -3px);
  }

  90% {
    transform: translate(-50%, -1px);
  }
}

.limited-time-badge {
  animation: badge-bounce 2s infinite, urgency-glow 1.5s infinite;
}

/* Pulse animation for the blur background */
@keyframes blur-pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.blur-background {
  animation: blur-pulse 2s infinite;
}

.hero-bg {
  position: relative;
  z-index: 1;
}

.hero-bg::before {
  background-image: url('frontpage.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: .55;
}

/* PayPal Button Styling */
#paypal-button-container {
  max-width: 300px;
  margin: 0 auto;
}

#paypal-button-container .paypal-buttons {
  max-height: 50px;
}

#payment-section {
  scroll-margin-top: 100px;
  /* Account for fixed header */
}

/* Smooth transitions for payment section */
#payment-section {
  transition: all 0.3s ease-in-out;
}

/* Carousel Styles */
.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1600px;
  /* ✅ Slightly less wide */
  margin: 50px auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  /* Spacing between 3 images */
}

.carousel-img {
  width: 420px;
  /* ✅ Balanced width */
  height: 380px;
  /* ✅ Balanced height */
  object-fit: cover;
  opacity: 0.5;
  transform: scale(0.9);
  transition: transform 0.5s ease, opacity 0.5s ease;
  border-radius: 16px;
  flex-shrink: 0;
}

.carousel-img.center {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2.7rem;
  padding: 10px 10px;
  cursor: pointer;
  z-index: 3;
  border-radius: 45%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  user-select: none;
}

.nav-button:hover {
  background: rgba(0, 0, 0, 0.04)
}

.nav-button.left {
  left: 14px;
}

.nav-button.right {
  right: 14px;
}

@media (max-width: 1400px) {
  .carousel-img {
    width: 300px;
    height: 300px;
  }

  .nav-button {
    font-size: 2.4rem;
    padding: 10px 14px;
  }
}

.chart-card-large {
  height: 620px;
}

@media (max-width: 768px) {
  .carousel-track {
    gap: 0;
  }

  .carousel-img {
    width: 100%;
    max-width: 90vw;
    height: auto;
    display: none;
  }

  .carousel-img.center {
    display: block;
    transform: scale(1);
    opacity: 1;
    width: 100%;
    max-width: 90vw;
    height: auto;
    box-shadow: none;
  }

  .nav-button {
    font-size: 2.7rem;
    padding: 1px 11px;
    background: white;
    color: #00d890;
  }

  .chart-card-large {
    height: 640px;
  }
}

.carousel-header {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 30px;
  color: #00d890;
  line-height: 1.5;
}

.carousel-header .cta-line {
  font-size: 1.6rem;
  font-weight: 500;
  color: #007BFF;
  /* You can change this to your brand color */
}

/* Chart container styles */
.chart-container {
  position: relative;
  width: 100%;
  height: 400px;
}

/* Custom inline styles moved to classes */
.hero-text-white {
  color: white;
}

.chart-container-large {
  height: 500px;
}

@media (max-width: 300px) {

  /* small mobile devices fix svg */
  .glass-card {
    max-width: 100%;
    overflow: hidden;
  }
}