/* Custom styles beyond Tailwind */

/* All buttons should have pointer cursor */
button, [type="submit"], [type="button"], [role="button"], .btn, a.btn {
  cursor: pointer;
}

/* Smooth progress bar animation */
#progressBar {
  transition: width 0.4s ease-out;
}

/* Spinner animation (also defined in Tailwind but just in case) */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 1s linear infinite;
}

/* Subtle glow on cards */
.glow-brand {
  box-shadow: 0 0 20px rgba(221, 1, 15, 0.15);
}

/* Form focus ring */
input:focus {
  box-shadow: 0 0 0 3px rgba(221, 1, 15, 0.25);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #111827;
}
::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

/* SEO catalog pill tags */
.seo-pill {
  display: inline-block;
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(55, 65, 81, 0.4);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #9ca3af;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.seo-pill:hover {
  background: rgba(221, 1, 15, 0.08);
  border-color: rgba(221, 1, 15, 0.25);
  color: #e5e7eb;
}

/* FAQ details styling */
details summary {
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}
details[open] summary {
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  padding-bottom: 0.75rem;
}

/* Smooth section transitions */
section {
  scroll-margin-top: 4rem;
}

/* Stats counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
data {
  animation: countUp 0.5s ease-out;
}

/* Hero gradient text effect */
.hero-gradient-text {
  background: linear-gradient(135deg, #DD010F 0%, #ff4d58 40%, #ff8a8a 60%, #DD010F 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Slow bounce for badges */
@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-bounce-slow {
  animation: bounceSlow 3s ease-in-out infinite;
}

/* Slow ping for status dots */
@keyframes pingSlow {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping-slow {
  animation: pingSlow 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Stats counter class */
.sc-val {
  font-variant-numeric: tabular-nums;
}

/* Speed lines animation */
@keyframes speedLine {
  0% { transform: translateX(-100%) scaleX(0); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: translateX(200%) scaleX(1); opacity: 0; }
}
.animate-speed-line {
  animation: speedLine 4s ease-in-out infinite;
}

/* FAQ open state enhancement */
details[open] {
  border-color: rgba(221, 1, 15, 0.2) !important;
  background: rgba(17, 24, 39, 0.9) !important;
}

/* Carousel scroll snap */
.carousel-scroll {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.carousel-scroll > * {
  scroll-snap-align: start;
}

/* Decorative hexagon */
.hex-shape {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Browser URL bar mockup */
.bx-chrome {
  background: #1a1a2e;
}
.bx-tb {
  user-select: none;
}
.bx-url {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
  letter-spacing: -0.01em;
}
