/* Racing stripes animation */
@keyframes racing-stripes {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 0;
  }
}

/* Pulsating glow */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.5);
  }
}

/* Marquee scroll */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Tilt effect */
@keyframes tilt {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

/* Parallax float */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Checkered flag pattern */
.checkered-bg {
  background-image: linear-gradient(45deg, #1f2937 25%, transparent 25%),
    linear-gradient(-45deg, #1f2937 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #1f2937 75%),
    linear-gradient(-45deg, transparent 75%, #1f2937 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Racing stripes background */
.racing-stripes {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(255, 215, 0, 0.1) 10px,
    rgba(255, 215, 0, 0.1) 20px
  );
  animation: racing-stripes 2s linear infinite;
}

/* CTA pulse */
.cta-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Provider cloud marquee */
.marquee-container {
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
}

/* Floating animation */
.float-anim {
  animation: float 3s ease-in-out infinite;
}

/* Tilt animation */
.tilt-anim {
  animation: tilt 4s ease-in-out infinite;
}

/* Prose styling for readability */
.prose {
  max-width: 65ch;
  line-height: 1.75;
}

.prose h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
  color: #d1d5db;
}

.prose ul,
.prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: #d1d5db;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: #ffd700;
  font-weight: 600;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffed4e;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Glass morphism cards */
.glass-card {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Racing flag icon */
.racing-flag {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: linear-gradient(45deg, #000 25%, #fff 25%, #fff 50%, #000 50%, #000 75%, #fff 75%);
  background-size: 8px 8px;
}

/* Speedometer effect */
.speedometer-glow {
  position: relative;
}

.speedometer-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(45deg, #ffd700, #ff4500, #ffd700);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: pulse-glow 2s ease-in-out infinite;
}
