/* Base Styles & Custom Fonts */
:root {
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #FFFFE4;
  color: #0f172a;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

input, select, textarea {
  background-color: #ffffff;
  color: #0f172a;
  color-scheme: light;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-display);
}

code, pre, .font-code {
  font-family: var(--font-mono);
}

/* Custom Grid / Blueprint Backgrounds in Forest Green & Gold */
.bg-blueprint-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(212, 160, 23, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 160, 23, 0.05) 1px, transparent 1px);
}

.bg-blueprint-fine {
  background-size: 20px 20px;
  background-image: 
    linear-gradient(to right, rgba(27, 67, 50, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 67, 50, 0.15) 1px, transparent 1px);
}

.bg-dots {
  background-image: radial-gradient(rgba(212, 160, 23, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Industrial Spec Plate / Rivet Detail Styling in Forest Green Glass */
.spec-plate {
  position: relative;
  background: linear-gradient(145deg, #0a1f16 0%, #040d09 100%);
  border: 1px solid rgba(212, 160, 23, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

.spec-plate::before,
.spec-plate::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #D4A017;
  opacity: 0.5;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.spec-plate::before {
  top: 8px;
  left: 8px;
}

.spec-plate::after {
  top: 8px;
  right: 8px;
}

/* Premium Card Lift & Gold Glow Utilities */
.card-premium-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-premium-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(212, 160, 23, 0.3);
  border-color: rgba(212, 160, 23, 0.8) !important;
}

/* Glowing Accent Effects */
.glow-gold {
  box-shadow: 0 0 30px -5px rgba(212, 160, 23, 0.45);
}

.glow-emerald {
  box-shadow: 0 0 30px -5px rgba(34, 197, 94, 0.35);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

.animate-marquee {
  display: flex;
  width: 200%;
  animation: marquee 28s linear infinite;
}

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

/* Gold Pulse Glow Animation for Primary CTAs */
@keyframes goldPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 38px rgba(212, 160, 23, 0.85), 0 0 55px rgba(212, 160, 23, 0.4);
    transform: scale(1.02);
  }
}

.animate-gold-pulse {
  animation: goldPulse 2.2s infinite ease-in-out;
}

/* Entrance Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Utility classes for hidden/flex */
.modal-overlay {
  transition: opacity 0.2s ease-in-out;
}
