body {
  font-family: 'Poppins', sans-serif;
  background-color: #FDFBF8;
  color: #4F4646;
  overflow-x: hidden; /* FIXED: Prevents horizontal scrolling on mobile */
}

.hero-bg {
  background: url('./images/biscotti_banner.png') no-repeat center center;
  background-size: cover;
  position: relative;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* dark overlay for readability */
}

/* Gradient */
.gold-gradient {
  background: linear-gradient(90deg, #b6893e, #f7e086, #b6893e);
}

/* Loader */
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Keyframe animation for the pulse effect */
@keyframes pulse-grow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
}

/* Class to apply the animation */
.animate-pulse-grow {
  animation: pulse-grow 2s infinite;
}

/* Style for the active investment level card */
.level-active {
    border-color: #f97316; /* orange-500 */
    transform: scale(1.03);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* --- OPTIMIZED FOR MOBILE: Touch-friendly Slider --- */
.investment-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #e5e7eb; /* gray-200 */
  border-radius: 5px;
  outline: none;
  opacity: 0.9;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.investment-slider:hover {
  opacity: 1;
}

/* Slider Thumb for Webkit browsers (Chrome, Safari) */
.investment-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; /* Larger size for touch */
  height: 24px; /* Larger size for touch */
  background: #15803d; /* green-800 */
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Slider Thumb for Firefox */
.investment-slider::-moz-range-thumb {
  width: 24px; /* Larger size for touch */
  height: 24px; /* Larger size for touch */
  background: #15803d; /* green-800 */
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.roadmap-step {
  flex: 1;
  text-align: center;
  cursor: default;
  transition: transform 0.3s ease;
}
.roadmap-step:hover {
  transform: translateY(-5px);
}
.roadmap-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto;
  transition: all 0.4s ease;
}
.pulse {
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

