.features {
  position: relative;
  background-color: #0f172a; 
  padding: 100px 20px;
  font-family: 'Lora', serif;
  overflow: hidden;
}

.features::before,
.features::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.features::before {
  top: 150px;
  left: 200px;
  background: #f59e0b;
}

.features::after {
  bottom: -100px;
  right: -100px;
  background: #2563eb;
}

.features__container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.features__title {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 46px;
  font-weight: 700;
  margin: 0 0 60px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(-30px) scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.features__title.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  perspective: 1000px;
}

.features__card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
  
  /* Анимация появления (без transition-delay!) */
  opacity: 0;
  filter: blur(10px);
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.features__card.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.features__card:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3), inset 0 0 20px rgba(245, 158, 11, 0.1);
}

.features__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(234, 88, 12, 0.2));
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.features__icon i {
  font-size: 28px;
  color: #f59e0b;
  transition: all 0.4s ease;
}

.features__card:hover .features__icon {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
  transform: scale(1.1) translateZ(20px);
}

.features__card:hover .features__icon i {
  color: #ffffff;
}

.features__heading {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
  line-height: 1.3;
  text-transform: uppercase;
  transform: translateZ(30px);
}

.features__text {
  font-size: 15px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
  transform: translateZ(20px);
}

.features__card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 50px;
}

.features__card--wide:hover {
  border-color: #2563eb;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.4);
}

.features__card--wide .features__icon {
  margin-bottom: 0;
  flex-shrink: 0;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  border-color: #3b82f6;
}

.features__card--wide .features__icon i {
  color: #ffffff;
}

.features__card--wide:hover .features__icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
}

.features__content-wrap {
  flex: 1;
  transform: translateZ(30px);
}

@media (max-width: 992px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .features__title { font-size: 36px; }
}

@media (max-width: 600px) {
  .features { padding: 60px 16px; }
  .features__grid { grid-template-columns: 1fr; gap: 20px; }
  .features__title { font-size: 28px; margin-bottom: 40px; }
  .features__card { padding: 30px 20px; }
  
  .features__card--wide {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    gap: 20px;
  }
}