/* ============================================
   СЕКЦИЯ ПРИЛОЖЕНИЙ
   ============================================ */
.apps-section {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(240, 248, 255, 0.95) 100%
  );
  border: 2px solid rgba(61, 220, 132, 0.3);
  position: relative;
  overflow: hidden;
}

.apps-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3ddc84, #0078d4, #3ddc84);
  background-size: 200% 100%;
  animation: appsGradient 3s ease infinite;
}

@keyframes appsGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.apps-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.app-download-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 15px;
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.app-download-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.app-download-card:first-child:hover {
  border-color: rgba(61, 220, 132, 0.5);
}

.app-download-card:last-child:hover {
  border-color: rgba(0, 120, 212, 0.5);
}

/* Иконка приложения */
.app-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.android-icon {
  background: linear-gradient(135deg, #3ddc84, #28a745);
}

.windows-icon {
  background: linear-gradient(135deg, #0078d4, #005a9e);
}

.app-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.app-desc {
  font-size: 0.8rem;
  color: rgba(44, 62, 80, 0.7);
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Кнопки скачивания */
.app-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.app-download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.app-download-btn:hover::before {
  left: 100%;
}

.apk-btn {
  background: linear-gradient(135deg, #3ddc84, #28a745);
}

.apk-btn:hover {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(61, 220, 132, 0.4);
}

.exe-btn {
  background: linear-gradient(135deg, #0078d4, #005a9e);
}

.exe-btn:hover {
  background: linear-gradient(135deg, #005a9e, #004070);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.4);
}

/* Адаптив */
@media (max-width: 1200px) {
  .apps-section {
    padding: 10px 15px;
  }

  .app-download-card {
    padding: 10px;
  }

  .app-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .app-desc {
    display: none;
  }
}

@media (max-width: 480px) {
  .app-title {
    font-size: 1rem;
  }

  .app-download-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
  }
}
