/* ============================================================================
   LIST ARMOR MARKETING SITE - Custom Overrides
   Emerald Green (#059669) + Inter Font
   ============================================================================ */

/* Import Inter font to replace Poppins, and Space Grotesk for logo */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* Logo text styling - matches customer admin app */
.logo-text {
  font-family: 'Space Grotesk', sans-serif !important;
}

/* ============================================================================
   COLOR PALETTE
   ============================================================================ */
:root {
  /* Primary - List Armor Emerald Green */
  --bs-primary: #059669 !important;
  --bs-primary-rgb: 5, 150, 105 !important;
  --bs-link-color: #059669 !important;
  --bs-link-hover-color: #047857 !important;
}

/* ============================================================================
   TYPOGRAPHY - Inter Font
   ============================================================================ */
body,
html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ============================================================================
   PRIMARY COLOR OVERRIDES
   ============================================================================ */

/* Backgrounds */
.bg-primary {
  background-color: #059669 !important;
}

.bg-primary-subtle {
  background-color: #d1fae5 !important;
}

/* Text */
.text-primary {
  color: #059669 !important;
}

/* Cream text for dark backgrounds (better contrast on emerald green) */
.text-cream {
  color: #FFFDF5 !important;
}

.text-cream-muted {
  color: rgba(255, 253, 245, 0.85) !important;
}

.link-primary {
  color: #059669 !important;
}

.link-primary:hover,
.link-primary:focus {
  color: #047857 !important;
}

/* Buttons */
.btn-primary {
  background-color: #059669 !important;
  border-color: #059669 !important;
  color: white !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #047857 !important;
  border-color: #047857 !important;
  color: white !important;
}

.btn-primary:active {
  background-color: #065f46 !important;
  border-color: #065f46 !important;
}

.btn-outline-primary {
  color: #059669 !important;
  border-color: #059669 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #059669 !important;
  border-color: #059669 !important;
  color: white !important;
}

.btn-light-primary {
  background-color: #d1fae5 !important;
  color: #047857 !important;
}

.btn-light-primary:hover,
.btn-light-primary:focus {
  background-color: #a7f3d0 !important;
  color: #065f46 !important;
}

/* Modern button styling */
.btn {
  font-weight: 500;
  border-radius: 8px !important;
  transition: all 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Scroll to top button */
.top-btn {
  background-color: #059669 !important;
  border-color: #059669 !important;
}

.top-btn:hover {
  background-color: #047857 !important;
}

/* ============================================================================
   CARDS
   ============================================================================ */
.card {
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

/* ============================================================================
   FORM CONTROLS
   ============================================================================ */
.form-control {
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
}

.form-control:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1) !important;
}

.form-select {
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
}

.form-select:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1) !important;
}

/* ============================================================================
   BADGES
   ============================================================================ */
.badge.bg-primary {
  background-color: #059669 !important;
}

.badge.bg-primary-subtle {
  background-color: rgba(5, 150, 105, 0.1) !important;
  color: #047857 !important;
}

/* ============================================================================
   PRICING CARDS
   ============================================================================ */
.pricing-card {
  border-radius: 16px !important;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1) !important;
}

.pricing-card.featured {
  border: 2px solid #059669 !important;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero-section {
  background: linear-gradient(135deg, #d1fae5 0%, #f0fdf4 100%) !important;
}

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.testimonial-card {
  border-radius: 12px !important;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
footer .link-primary:hover {
  color: #10b981 !important;
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */
:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }

  .pricing-card:hover {
    transform: none;
  }
}

/* ============================================================================
   STICKY HEADER - Smooth Transition
   ============================================================================ */
.header-fp {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.header-fp.header-sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Padding for body when header is sticky to prevent content jump */
body.header-is-sticky {
  padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  .header-fp.header-sticky {
    animation: none;
  }
}
