@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 0 0% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 3.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 3.9%;
    --primary: 0 84% 40%;
    --primary-foreground: 0 0% 98%;
    --secondary: 0 0% 96.1%;
    --secondary-foreground: 0 0% 9%;
    --muted: 0 0% 96.1%;
    --muted-foreground: 0 0% 45.1%;
    --accent: 0 0% 96.1%;
    --accent-foreground: 0 0% 9%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 89.8%;
    --input: 0 0% 89.8%;
    --ring: 0 84% 40%;
    --radius: 0.5rem;
  }

  .dark {
    --background: 0 0% 3.9%;
    --foreground: 0 0% 98%;
    --card: 0 0% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 0 0% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 0 84% 40%;
    --primary-foreground: 0 0% 9%;
    --secondary: 0 0% 14.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 0 0% 14.9%;
    --muted-foreground: 0 0% 63.9%;
    --accent: 0 0% 14.9%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 14.9%;
    --input: 0 0% 14.9%;
    --ring: 0 84% 40%;
  }
}

@layer base {
  * {
    @apply border-border outline-ring/50;
    font-family: 'Inter', sans-serif !important;
  }

  body {
    @apply bg-background text-foreground;
    font-family: 'Inter', sans-serif !important;
    scroll-behavior: smooth;
  }

  h1, h2, h3, h4, h5, h6, p, span, a, li, button, input, select, textarea, label, th, td, div {
    font-family: 'Inter', sans-serif !important;
  }
}

/* Custom brand colors */
:root {
  --brand-red: #CC0000;
  --brand-red-hover: #A80000;
  --brand-black: #0A0A0A;
  --brand-dark-gray: #2C2C2C;
  --brand-mid-gray: #8A8A8A;
  --brand-light-gray: #F4F4F4;
}

/* CTA Button Pulse Animation */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(204,0,0,0.35); }
  50% { box-shadow: 0 4px 32px rgba(204,0,0,0.7), 0 0 0 6px rgba(204,0,0,0.12); }
}

.btn-red-pulse {
  animation: ctaPulse 2.5s ease-in-out infinite;
}

/* Float animation for badges */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.float-badge {
  animation: floatBadge 3s ease-in-out infinite;
}

/* Scroll fade-in */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
}

/* Smooth accordion */
.accordion-content {
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

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

.marquee-track {
  animation: marquee 28s linear infinite;
}

/* Counter animation */
@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Dashboard tilt on hover */
.dashboard-tilt {
  transition: transform 0.3s ease;
}

.dashboard-tilt:hover {
  transform: perspective(800px) rotateY(-3deg) rotateX(2deg);
}

/* White outline buttons — black text on hover */

  .btn-outline-white {
    border: 2px solid white;
    color: white !important;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .btn-outline-white:hover {
    background: white !important;
    color: #0A0A0A !important;
  }
