/* Custom styles for AutoRodado España */
:root {
  --primary: #1d4ed8;
  --primary-dark: #0f172a;
  --accent: #16a34a;
  --accent-light: #22c55e;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Subtle glow and hero gradient */
.hero-glow {
  background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Custom animated pulse badge */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-dot {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Sticky conversion banner */
.floating-cta {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Form input styling focus highlights */
.form-input-focus:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  outline: none;
}

/* Custom range slider styling */
input[type="range"] {
  accent-color: #2563eb;
}

/* Trust badge marquee animation */
@keyframes scrollX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

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

.marquee-content:hover {
  animation-play-state: paused;
}
