/* ================================================================
   VJKM PREMIER MOTION & ULTRA UI/UX ENHANCEMENTS
   ================================================================ */

/* Shimmer Button Sweep */
.btn-primary, .quote-submit-btn, .btn-google-review, .btn-market.btn-whatsapp {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.btn-primary::after, .quote-submit-btn::after, .btn-google-review::after, .btn-market.btn-whatsapp::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: btn-shimmer 4s infinite cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

@keyframes btn-shimmer {
  0% { left: -60%; }
  30% { left: 140%; }
  100% { left: 140%; }
}

.btn-primary:hover, .quote-submit-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

/* Hero Floating Badges */
.hero-floating-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 24px;
}

.hero-float-badge {
  background: rgba(15, 20, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: badge-bob 4s ease-in-out infinite alternate;
}

.hero-float-badge:nth-child(2) {
  animation-delay: 1.2s;
  border-color: rgba(37, 211, 102, 0.3);
}

.hero-float-badge:nth-child(3) {
  animation-delay: 2.4s;
  border-color: rgba(255, 183, 3, 0.3);
}

@keyframes badge-bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

/* Stats Counter Strip */
.stats-strip {
  background: linear-gradient(180deg, var(--darker, #07090e) 0%, #0d121a 100%);
  padding: 45px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: rgba(20, 26, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(28, 36, 50, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 40%, var(--silver, #94a3b8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.stat-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--silver, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Interactive Trouble Diagnostic Quiz Widget */
.diagnostic-section {
  padding: 60px 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.06), transparent 70%), var(--dark, #0f141c);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.diagnostic-box {
  background: #141a24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  max-width: 950px;
  margin: 0 auto;
}

.diagnostic-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 820px) {
  .diagnostic-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .diagnostic-options {
    grid-template-columns: 1fr;
  }
}

.diag-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.diag-btn .diag-icon {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.diag-btn strong {
  font-size: 0.92rem;
  line-height: 1.3;
}

.diag-btn span {
  font-size: 0.78rem;
  color: var(--silver, #94a3b8);
}

.diag-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.diag-btn:hover .diag-icon {
  transform: scale(1.18);
}

.diag-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.15));
  border-color: #fbbf24;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
}

.diagnostic-result {
  background: rgba(7, 9, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.diag-res-text h4 {
  font-size: 1.15rem;
  color: #fbbf24;
  margin-bottom: 4px;
}

.diag-res-text p {
  color: var(--silver, #94a3b8);
  font-size: 0.88rem;
}

/* Card Glow Elevation */
.cat-card, .process-card, .why-card, .review-card, .trust-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.cat-card:hover, .process-card:hover, .why-card:hover, .review-card:hover, .trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.4);
}

/* Smooth Accordion Chevron */
.faq-question .faq-arrow {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: #fbbf24;
}

/* Mobile Action Bar Frosted Touch */
.mobile-action-bar {
  background: rgba(7, 9, 14, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8) !important;
}

.mobile-action-btn:active {
  transform: scale(0.95);
}
