/* ============================================
   Section Tag (shared across sections)
============================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(13, 86, 169, 0.06);
  border: 1px solid rgba(13, 86, 169, 0.12);
  font-size: 12px;
  font-weight: 700;
  color: #0D56A9;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================ 
   Bitcoin Parallax System
============================================ */
.btc-parallax-wrap {
  position: relative;
}

/* ── Fixed Orbiting Bitcoin ── */
.btc-orbiter {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  margin-left: -120px;
  margin-top: -120px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.btc-orbiter-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: btcGlowPulse 4s ease-in-out infinite;
}

.btc-orbiter-glow-2 {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(255, 220, 100, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: btcGlowPulse 4s ease-in-out infinite 2s;
}

@keyframes btcGlowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
}

#btcThreeContainer {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

#btcThreeContainer canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .btc-orbiter {
    width: 180px;
    height: 180px;
    margin-left: -90px;
    margin-top: -90px;
  }
}

@media (max-width: 768px) {
  .btc-orbiter {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btc-orbiter-glow,
  .btc-orbiter-glow-2 {
    animation: none !important;
  }
}

/* ============================================
   Statistics Section
============================================ */
.stats {
  padding: 140px 8%;
  background: #F8FAFC;
  color: #05295E;
  position: relative;
  overflow: hidden;
}

/* Subtle top glow */
.stats::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(13, 86, 169, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.stats-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.stats-header h2 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-top: 20px;
  color: #05295E;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
}

.stat-card {
  width: 100%;
  padding: 50px 36px;
  border-radius: 24px;
  background: #FFFFFF;
  backdrop-filter: blur(20px);
  border: 1px solid #E5E7EB;
  text-align: center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.45s ease,
              box-shadow 0.45s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle top shimmer on card */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 86, 169, 0.08), transparent);
  transition: all 0.45s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(13, 86, 169, 0.08),
              0 0 0 1px rgba(13, 86, 169, 0.08);
  border-color: rgba(13, 86, 169, 0.2);
}

.stat-card:hover::before {
  left: 10%;
  right: 10%;
  background: linear-gradient(90deg, transparent, rgba(13, 86, 169, 0.15), transparent);
}

.counter {
  font-size: 60px;
  font-weight: 800;
  background: linear-gradient(135deg, #0D56A9, #B89857);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1.1;
}

.stat-card p {
  color: #5F6B7A;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============================================
   Testimonials Section
============================================ */
.testimonial {
  padding: 140px 8%;
  background: #FFFFFF;
  color: #05295E;
  position: relative;
  overflow: hidden;
}

/* Subtle glow */
.testimonial::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(184, 152, 87, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-header {
  text-align: center;
  max-width: 750px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.testimonial-header h2 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin: 20px 0;
  color: #05295E;
}

.testimonial-header span {
  background: linear-gradient(135deg, #0D56A9, #B89857);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonial-header p {
  color: #5F6B7A;
  line-height: 1.8;
  font-size: 16px;
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 70px;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.45s ease,
              box-shadow 0.45s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Top shimmer */
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 86, 169, 0.06), transparent);
  transition: all 0.45s ease;
}

.testimonial-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(13, 86, 169, 0.08),
              0 0 0 1px rgba(13, 86, 169, 0.08);
  border-color: rgba(13, 86, 169, 0.2);
}

.testimonial-card:hover::before {
  left: 8%;
  right: 8%;
  background: linear-gradient(90deg, transparent, rgba(13, 86, 169, 0.12), transparent);
}

.testimonial-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #0D56A9;
  box-shadow: 0 4px 20px rgba(13, 86, 169, 0.15);
  transition: box-shadow 0.4s ease;
}

.testimonial-card:hover img {
  box-shadow: 0 6px 28px rgba(13, 86, 169, 0.25);
}

.testimonial-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #05295E;
  margin-bottom: 6px;
}

.testimonial-card h4 {
  font-weight: 500;
  font-size: 14px;
  color: #0D56A9;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.testimonial-card p {
  line-height: 1.8;
  color: #5F6B7A;
  font-size: 15px;
  margin-bottom: 22px;
}

.stars {
  font-size: 20px;
  letter-spacing: 2px;
}


/* ── Section Responsive ── */
@media (max-width: 991px) {
  .stats-header h2,
  .testimonial-header h2,
  .pricing-header h2 {
    font-size: 38px;
  }

  .stats,
  .testimonial,
  .pricing {
    padding: 100px 5%;
  }

  .active {
    transform: scale(1);
  }

  .price-card.active:hover {
    transform: translateY(-12px);
  }
}

@media (max-width: 640px) {
  .stats-header h2,
  .testimonial-header h2,
  .pricing-header h2 {
    font-size: 30px;
  }

  .stats,
  .testimonial,
  .pricing {
    padding: 80px 4%;
  }

  .section-tag {
    font-size: 10px;
    padding: 8px 16px;
    letter-spacing: 1.2px;
  }

  .stat-card {
    padding: 35px 20px;
    border-radius: 18px;
  }

  .counter {
    font-size: 44px;
  }

  .stat-card p {
    font-size: 14px;
  }

  .testimonial-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 32px 24px;
    border-radius: 18px;
  }

  .testimonial-card img {
    width: 76px;
    height: 76px;
  }

  .testimonial-card h3 {
    font-size: 20px;
  }

  .testimonial-card p {
    font-size: 14px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
  }

  .price-card {
    padding: 36px 24px;
    border-radius: 18px;
  }

  .price-card h1 {
    font-size: 50px;
  }

  .price-card ul li {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 28px 18px;
  }

  .counter {
    font-size: 38px;
  }

  .price-card h1 {
    font-size: 44px;
  }
}
