/* ========================================
   HERO CTA - DARK MODE
   Frosted glass card for dark theme
   ======================================== */

/* Dark Mode Floating Action Card */
.hero-float-card {
  background: rgba(17, 17, 17, 0.6); /* Dark semi-transparent */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 36px 32px;
  max-width: 400px;
  width: 100%;
  box-shadow: 
    0 24px 70px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-float-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 32px 90px rgba(0, 0, 0, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.4);
}

.hero-float-text {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px 0;
  font-weight: 500;
}

.hero-float-btn {
  display: block;
  width: 100%;
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
  transition: all 0.3s ease;
}

.hero-float-btn:hover {
  background: #0a58ca;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.45);
}

/* Mobile adjustments for Dark Mode */
@media (max-width: 768px) {
  .hero-float-card {
    max-width: 100%;
    width: 100%; /* Full width of container */
    margin: 0 auto; /* Center the card */
    padding: 32px 28px;
    border-radius: 20px;
    background: rgba(17, 17, 17, 0.8); /* Slightly more opaque on mobile */
    box-sizing: border-box; /* Include padding in width */
  }
  
  .hero-float-badge {
    font-size: 0.875rem;
    padding: 7px 14px;
  }
  
  .hero-float-text {
    font-size: 1.0625rem;
    margin-bottom: 20px;
  }
  
  .hero-float-btn {
    padding: 14px 24px;
    font-size: 1rem;
    width: 100%; /* Full width of card */
    max-width: 100%; /* Prevent overflow */
    box-sizing: border-box; /* Include padding in width */
  }
}

@media (max-width: 501px) {
  .hero-float-card {
    padding: 28px 24px;
    border-radius: 18px;
  }
  
  .hero-float-text {
    font-size: 1rem;
    margin-bottom: 18px;
  }
  
  .hero-float-btn {
    padding: 13px 20px;
    font-size: 0.9375rem;
  }
}
