/* ========================================
   PROFESSION SECTION
   ======================================== */

.profession-section {
  padding: 60px 0;
  position: relative;
}

.profession-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.profession-section .section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.35);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: #9333ea;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  font-family: 'Montserrat', sans-serif;
}

.profession-section .section-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.profession-section .section-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 600;
  letter-spacing: -0.2px;
  font-family: 'Montserrat', sans-serif;
}

.profession-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.profession-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 28px 24px 28px 28px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.profession-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6, #f97316);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.profession-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.profession-card:hover::before {
  opacity: 1;
}

.profession-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 24px 0 0 24px;
}

.profession-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  transition: all 0.3s ease;
}

.profession-card:hover .profession-icon {
  transform: scale(1.1) rotate(-5deg);
}

.profession-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.profession-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  font-size: 13px;
  margin: 0;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.profession-stats {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stats-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 28px 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.5px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #9333ea, #f97316);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(147, 51, 234, 0.3);
  box-shadow: 0 12px 40px rgba(147, 51, 234, 0.2);
}

.stat-item-cyan:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.2);
}

.stat-item-cyan::before {
  background: linear-gradient(90deg, #06b6d4, #0ea5e9);
}

.stat-item-green:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
}

.stat-item-green::before {
  background: linear-gradient(90deg, #10b981, #14b8a6);
}

/* Пульсирующий индикатор */
.stat-pulse {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: #9333ea;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.stat-item-cyan .stat-pulse {
  background: #06b6d4;
}

.stat-item-green .stat-pulse {
  background: #10b981;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 currentColor;
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0);
  }
}

/* Tooltip */
.stat-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  max-width: 220px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.stat-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: none;
}

/* Progress Bar */
.stat-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  margin: 12px 0 8px 0;
  overflow: hidden;
}

.stat-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #9333ea, #f97316);
  border-radius: 2px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure stats are visible immediately on mobile/tablet for SEO */
@media (max-width: 1024px) {
  .stat-progress-bar {
    width: var(--target-width, 95%) !important;
  }
  
  .stat-progress-bar[data-width="95%"] {
    --target-width: 95%;
  }
  
  .stat-progress-bar[data-width="88%"] {
    --target-width: 88%;
  }
  
  .stat-progress-bar[data-width="70%"] {
    --target-width: 70%;
  }
}

.stat-item-cyan .stat-progress-bar {
  background: linear-gradient(90deg, #06b6d4, #0ea5e9);
}

.stat-item-green .stat-progress-bar {
  background: linear-gradient(90deg, #10b981, #14b8a6);
}

.stat-value {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, #9333ea, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -1px;
}

.stat-value-cyan {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-value-green {
  background: linear-gradient(135deg, #10b981, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.stats-source {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.stats-source p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .profession-section {
    padding: 50px 0;
  }

  .profession-section .section-header {
    margin-bottom: 36px;
  }

  .profession-section .section-title {
    font-size: 34px;
  }

  .profession-section .section-description {
    font-size: 14px;
  }

  .profession-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .profession-card {
    padding: 24px 20px 24px 24px;
  }

  .profession-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .profession-title {
    font-size: 15px;
  }

  .profession-text {
    font-size: 12px;
  }

  .profession-stats {
    padding: 28px 24px;
  }

  .stats-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    padding: 18px;
  }

  .stat-item:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .stat-item::after {
    max-width: 200px;
    font-size: 11px;
    padding: 10px 14px;
  }

  .stat-pulse {
    top: 14px;
    right: 14px;
    width: 6px;
    height: 6px;
  }

  .stat-progress {
    height: 3px;
    margin: 10px 0 6px 0;
  }

  .stat-value {
    font-size: 36px;
  }

  .stat-label {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .profession-section {
    padding: 40px 0;
  }

  .profession-section .section-title {
    font-size: 30px;
  }

  .profession-section .section-description {
    font-size: 13px;
  }

  .profession-card {
    padding: 20px 18px 20px 22px;
    border-radius: 20px;
  }

  .profession-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .profession-title {
    font-size: 14px;
  }

  .profession-text {
    font-size: 11px;
  }

  .profession-stats {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .stats-title {
    font-size: 16px;
  }

  .stat-value {
    font-size: 32px;
  }

  .stat-label {
    font-size: 11px;
  }
}


/* ========================================
   PROFESSION MODAL (Desktop)
   ======================================== */

.profession-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.profession-modal.active {
  display: flex;
}

.profession-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.profession-modal-content {
  position: relative;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.95) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.profession-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
}

.profession-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.profession-modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.profession-modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.2));
  border: 2px solid rgba(6, 182, 212, 0.4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.profession-modal-header h2 {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  font-family: 'Montserrat', sans-serif;
}

.profession-modal-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.profession-modal-body h4 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  font-family: 'Montserrat', sans-serif;
}

.profession-modal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.profession-modal-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.profession-modal-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateX(4px);
}

.profession-modal-item .item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.15));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.profession-modal-item strong {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
}

.profession-modal-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.profession-modal-note {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
}

.profession-modal-note p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}

.profession-modal-note strong {
  color: #06b6d4;
  font-weight: 700;
}

/* ========================================
   ACCORDION (Mobile)
   ======================================== */

.profession-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profession-accordion-content.active {
  max-height: 1000px;
  margin-top: 16px;
}

.accordion-inner {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-top: 16px;
}

.accordion-inner h4 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
}

.accordion-inner ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.accordion-inner ul li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
}

.accordion-inner ul li:last-child {
  border-bottom: none;
}

.accordion-inner ul li strong {
  color: #ffffff;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.accordion-note {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
}

.profession-card {
  cursor: pointer;
}

.profession-card.accordion-open {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
}

/* Скрываем аккордеон на десктопе */
@media (min-width: 769px) {
  .profession-accordion-content {
    display: none !important;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes iconPop {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
  .profession-modal-content {
    padding: 32px 24px;
    max-height: 90vh;
  }

  .profession-modal-icon {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .profession-modal-header h2 {
    font-size: 24px;
  }

  .profession-modal-subtitle {
    font-size: 14px;
  }

  .profession-modal-body h4 {
    font-size: 18px;
  }

  .profession-modal-item {
    padding: 16px;
    gap: 12px;
  }

  .profession-modal-item .item-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .profession-modal-item strong {
    font-size: 14px;
  }

  .profession-modal-item p {
    font-size: 13px;
  }
}


/* ========================================
   STATS MODAL
   ======================================== */

.stats-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.stats-modal.active {
  display: flex;
}

.stats-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.3s ease;
}

.stats-modal-content {
  position: relative;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.stats-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
}

.stats-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.stats-modal-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.stats-modal-header h2 {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  font-family: 'Montserrat', sans-serif;
}

.stats-modal-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 16px;
}

.stats-modal-value {
  font-size: 48px;
  font-weight: 900;
  margin-top: 12px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -2px;
}

.stats-modal-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 24px 0 16px 0;
  font-family: 'Montserrat', sans-serif;
}

/* Chart Styles */
.stats-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 200px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  margin-bottom: 24px;
}

.chart-bar-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.chart-bar {
  width: 100%;
  border-radius: 8px 8px 0 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.chart-value {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chart-year {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Montserrat', sans-serif;
  margin-top: auto;
}

/* Facts Styles */
.stats-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.stats-fact {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stats-fact:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateY(-2px);
}

.stats-fact .fact-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.stats-fact p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.stats-modal-source {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
}

.stats-modal-source p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .stats-modal-content {
    padding: 28px 20px;
    max-height: 90vh;
  }

  .stats-modal-icon {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .stats-modal-header h2 {
    font-size: 22px;
  }

  .stats-modal-value {
    font-size: 40px;
  }

  .stats-chart {
    height: 160px;
    padding: 16px;
    gap: 8px;
  }

  .chart-value {
    font-size: 10px;
  }

  .chart-year {
    font-size: 11px;
  }

  .stats-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stats-fact {
    padding: 14px;
  }

  .stats-fact .fact-icon {
    font-size: 20px;
  }

  .stats-fact p {
    font-size: 12px;
  }
}
