html, body {
  overflow-x: hidden !important; /* FIX RIGHT-SIDE OVERFLOW */
}
/* =========================
   GLOBAL
   ========================= */
body {
  font-family: "Inter", sans-serif;
  background-color: #020617;
  color: #e5e7eb;
}

.font-heading {
  font-family: "Poppins", sans-serif;
}

  h2.font-heading {
    background: linear-gradient(90deg, #22c55e, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

.gradient-text {
  background: linear-gradient(90deg, #22c55e, #22d3ee);
  -webkit-background-clip: text;
  color: transparent;
}

/* =========================
   HERO
   ========================= */
.bg-hero {
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.2), transparent 50%),
    radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.18), transparent),
    #020617;
}

.hero-title {
  animation: fadeInUp 1s ease-out;
}

/* =========================
   GLASS / CARDS / HOVER
   ========================= */
.glass {
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(51, 65, 85, 0.9);
  backdrop-filter: blur(16px);
}

.card-soft h6 {
  color: #e5e7eb !important; 
}

.card-soft {
  background-color: rgba(15, 23, 42, 0.95);
  border-color: rgba(30, 64, 175, 0.8);
}

/* All hoverable boxes */
.hover-box,
.card-soft,
.glass {
  transition: all 0.35s ease;
}

.hover-box:hover,
.card-soft:hover,
.glass:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 10px rgba(34, 197, 94, 0.25);
  border-color: rgba(34, 211, 238, 0.6) !important;
}

/* Icon numbered badges */
.icon-number {
  width: 32px;
  height: 32px;
  background-color: rgba(16, 185, 129, 0.13);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #6ee7b7;
  transition: 0.3s;
}

.icon-number:hover {
  transform: scale(1.15);
  background: rgba(34, 211, 238, 0.3);
}

/* =========================
   IMAGES
   ========================= */
.hover-img {
  transition: 0.35s;
}

.hover-img:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* =========================
   LIVE PULSE DOT
   ========================= */
.live-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
  animation: livePulse 1.6s infinite ease-out;
}

/* Pulse glow animation */
@keyframes livePulse {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.8);
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: 0 0 10px rgba(34, 197, 94, 1);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.85;
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.8);
  }
}

/* =========================
   FADE-IN ANIMATION (used with JS)
   ========================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   QUOTES SECTION
   ========================= */
.quote-section {
  background-color: #020617;
}

.quote-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.quote-glow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.15) 0%,
    rgba(34, 197, 94, 0.08) 35%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.quote-box {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(34, 211, 238, 0.05);
  transition: all 0.4s ease;
}

.quote-box:hover {
  transform: translateY(-6px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 45px rgba(34, 211, 238, 0.12),
    0 0 25px rgba(34, 197, 94, 0.1);
}

.quote-text {
  min-height: 70px;
  font-size: 1.4rem;
  color: #e5e7eb;
}

.fade-quote {
  opacity: 0;
  transition: opacity 1s ease;
}
.fade-quote.show {
  opacity: 1;
}

/* =========================
   MICRO BAR CHART SYSTEM
   (kept for future use)
   ========================= */
.micro-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  padding: 6px 4px;
  border-radius: 10px;
  position: relative;
}

.micro-chart .bar {
  width: 7px;
  height: calc(var(--h) * 1px);
  border-radius: 10px;
  transition: all 0.35s ease;
  transform-origin: bottom;
  animation: barPop 0.6s ease-out backwards;
  position: relative;
}

.micro-chart .green {
  background: linear-gradient(to top, #16a34a, #22c55e);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.35);
}

.micro-chart .red {
  background: linear-gradient(to top, #dc2626, #f87171);
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.35);
}

.micro-chart .bar:hover {
  transform: scaleY(1.2);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  opacity: 1;
}

@keyframes barPop {
  0% {
    height: 0;
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
  }
}

/* subtle glow flicker at base of bar */
.micro-chart .bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 30%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(6px);
  opacity: 0;
  animation: flicker 1.8s infinite ease-in-out;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.25;
  }
}

/* =========================
   MAIN CHART CONTAINER
   (used for candlestick)
   ========================= */
.chart-container {
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(40, 70, 200, 0.35);
  border-radius: 16px;
  padding: 18px;
  margin-top: 10px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

/* =========================
   FULL CANDLESTICK CHART
   ========================= */
.full-candle-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 180px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background: rgba(5, 10, 20, 0.85);
  border: 1px solid rgba(40, 70, 200, 0.3);
}

/* Candle container */
.candle {
  position: relative;
  width: 12px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #22c55e; /* default green */
}

/* Wicks (top & bottom) */
.candle::before,
.candle::after {
  content: "";
  position: absolute;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
  border-radius: 2px;
}

/* Top wick */
.candle::before {
  height: calc(var(--wickTop) * 1px);
  top: calc(-1 * var(--wickTop) * 1px);
  opacity: 0.75;
}

/* Bottom wick */
.candle::after {
  height: calc(var(--wickBottom) * 1px);
  bottom: calc(-1 * var(--wickBottom) * 1px);
  opacity: 0.75;
}

/* Body */
.candle > div {
  width: 100%;
  height: calc(var(--body) * 1px);
  border-radius: 3px;
  background: currentColor;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Color themes */
.candle.green {
  color: #22c55e;
}

.candle.red {
  color: #ef4444;
}

/* =========================
   UTILITIES / LAYOUT
   ========================= */
.section-padding {
  padding: 4rem 0;
}

.text-muted-soft {
  color: #9ca3af !important;
}

.border-soft {
  border-color: rgba(30, 64, 175, 0.7) !important;
}

/* Button hover */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(34, 211, 238, 0.3);
  transition: 0.3s;
}

/* Gradient CTA button */
.btn-gradient {
  background-image: linear-gradient(90deg, #22c55e, #22d3ee);
  color: #020617;
}
