/* Download Section Styles */
.download {
  background: linear-gradient(135deg, #0d47a1, #1a73e8);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.pexels.com/photos/4050291/pexels-photo-4050291.jpeg?auto=compress&cs=tinysrgb&w=600') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 1;
}

.download .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.download-content {
  flex: 1;
  max-width: 56rem;
}

.download h2 {
  font-size: 3.6rem;
  margin-bottom: var(--spacing-md);
  color: #fff;
}

.download p {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.9);
}

.download-options {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.download-button {
  display: flex;
  align-items: center;
  background-color: #fff;
  color: var(--primary-color);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}

.download-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.download-button .icon {
  margin-right: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.qr-code {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-image {
  width: 15rem;
  height: 15rem;
  background-color: #fff;
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
}

.qr-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-code p {
  font-size: 1.4rem;
  margin-bottom: 0;
  text-align: center;
}

.app-preview {
  flex: 1;
  max-width: 40rem;
  margin-left: var(--spacing-xl);
}

.app-preview .device-mockup {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  transform: perspective(800px) rotateY(15deg) rotateX(5deg);
}

@media (max-width: 992px) {
  .download .container {
    flex-direction: column;
    text-align: center;
  }
  
  .download-content {
    max-width: 100%;
    margin-bottom: var(--spacing-xl);
  }
  
  .download-options {
    justify-content: center;
  }
  
  .app-preview {
    max-width: 70%;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .download-options {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .download-button {
    width: 100%;
    justify-content: center;
  }
  
  .app-preview {
    max-width: 90%;
  }
}