/* ═══════════════════════════════════════════════════════════════════════
   Codingshaft — Homepage Styles & Interactive Enhancements
   ═══════════════════════════════════════════════════════════════════════ */

/* Glassmorphism & Panel Depth */
.home-glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.08);
}

.dark-glass-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
}

/* Interactive Estimator Pills */
.estimator-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.estimator-btn:hover {
  transform: translateY(-2px);
}
.estimator-btn.active {
  background: #0B5CFF !important;
  color: #ffffff !important;
  border-color: #0B5CFF !important;
  box-shadow: 0 10px 25px -5px rgba(11, 92, 255, 0.4) !important;
}

/* FAQ Accordion Transitions */
.faq-trigger {
  cursor: pointer;
  user-select: none;
}
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}
.faq-item.active .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-inner {
  overflow: hidden;
}
.faq-icon {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #0B5CFF;
}

/* Showcase Card Hover Zoom */
.showcase-card {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s ease;
}
.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 70px -15px rgba(11, 92, 255, 0.12);
}

/* Floating Quick Action Widget */
#floating-quick-action {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#floating-quick-action.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Shuffler Clickable Feedback */
.shuffler-card-active {
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.shuffler-card-active:hover {
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25);
}
