/* Custom styles inspired by geo-risk.ru */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg-mint: #f0fdf4;
  --bg-mint-soft: #f4faf6;
  --emerald-primary: #10b981;
  --emerald-dark: #059669;
  --geoblue: #2563eb;
  --geoblue-hover: #1d4ed8;
  --slate-dark: #0f172a;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f7fbf9;
  color: #1e293b;
  overflow-x: hidden;
}

h1, h2, h3, .font-heading {
  font-family: 'Outfit', 'Inter', sans-serif;
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(247, 251, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

/* Smooth gradients */
.hero-gradient {
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.15), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.08), transparent 45%);
}

.card-mint-gradient {
  background: linear-gradient(148deg, #f0f7f4 0%, #e8f5ef 42%, #e6f0fa 100%);
}

/* Leaflet Map */
#hero-interactive-map, #leaflet-map {
  width: 100%;
  height: 430px;
  min-height: 430px;
  z-index: 1;
}

.leaflet-container {
  font-family: 'Inter', sans-serif !important;
  background-color: #f1f5f9;
}

/* Hero Search Bar */
.hero-search-shadow {
  box-shadow: 0 12px 40px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(16, 185, 129, 0.18);
}

/* Traffic Light Badges */
.badge-green {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.badge-yellow {
  background-color: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.badge-red {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Score Circle */
.score-circle-green {
  background: conic-gradient(#10b981 var(--score-deg), #e2e8f0 0deg);
}
.score-circle-yellow {
  background: conic-gradient(#f59e0b var(--score-deg), #e2e8f0 0deg);
}
.score-circle-red {
  background: conic-gradient(#ef4444 var(--score-deg), #e2e8f0 0deg);
}

/* Autocomplete styling */
.autocomplete-dropdown {
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
}

/* Transitions and micro-animations */
.hover-lift {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
}

/* Map styling */
#leaflet-map, #hero-interactive-map {
  height: 460px;
  width: 100%;
  border-radius: 1.25rem;
  z-index: 10;
}

.cursor-crosshair, .cursor-crosshair .leaflet-container {
  cursor: crosshair !important;
}

/* GeoRisk Pin Style */
.georisk-blue-pin {
  background: transparent;
  border: none;
}

