.license-section {
  padding-top: 160px; /* можно 96 или 160 — как удобно */
}




.license-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 32px;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 320px;
  
}

.license-card:hover {
  transform: scale(1.015);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.12);
}


.license-title {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.license-subtitle {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.license-users {
  text-align: left;
}

.user-count {
  font-size: 32px;
  font-weight: 700;
  color: #009C8F;
}

.user-label {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
  font-weight:bold;
}

.license-price-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.license-old-price s {
  font-size: 13px;
  color: #999;
}

.license-new-price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-accent {
  font-size: 18px;
  font-weight: 600;
  color: #009C8F;
}

.price-discount {
  background: #ffeaea;
  color: #d60000;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
}

.price-note {
  font-size: 12px;
  color: #666;
}

.license-btn {
  background: #009C8F;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.license-btn:hover {
  background: #33B6A2;
}

.license-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0;
}

.license-features-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.license-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  justify-content: center;
  align-items: stretch;
}

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

.license-heading {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
}

.license-subheading {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
}


.feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-label {
  font-size: 13px;
  color: #333;
}

.feature-level {
  display: flex;
  gap: 4px;
}

.level-0::before,
.level-1::before,
.level-2::before,
.level-3::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
}

.level-1::before {
  background: #bbb;
}

.level-2::before {
  background: #02dece;
}

.level-3::before {
  background: #009e96;
}

/* Анимация */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Базовый стиль карточки */
.license-card {
  animation: slideUpFade 0.8s ease forwards;
  opacity: 0;
  transform: translateY(40px);
  /* остальное... */
}

/* Задержка по ритму */
.license-card:nth-child(1) { animation-delay: 0.1s; }
.license-card:nth-child(2) { animation-delay: 0.2s; }
.license-card:nth-child(3) { animation-delay: 0.3s; }
.license-card:nth-child(4) { animation-delay: 0.4s; }

@media (max-width: 768px) {
  .license-section {
    padding: 48px 16px;
  }

  .license-row {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-content: center;
  }

  .license-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 16px;
  }

  .license-header,
  .license-heading,
  .license-subheading {
    text-align: center;
  }

  .license-heading {
    font-size: 26px;
  }

  .license-subheading {
    font-size: 14px;
  }

  .user-count {
    font-size: 28px;
  }

  .price-accent {
    font-size: 16px;
  }

  .price-discount {
    font-size: 12px;
    padding: 4px 6px;
  }

  .license-btn {
    font-size: 13px;
    padding: 10px 16px;
  }

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