/*!
 * Sadeed Website - Custom App Download & UI Enhancements
 */

/* Download Badges in Hero and Sections */
.app-download-badges {
  list-style: none;
  padding: 12px 0 5px;
  margin: 0 -6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.app-download-badges.center-badges {
  justify-content: center !important;
}

.app-download-badges li {
  display: inline-block;
  margin: 6px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-download-badges li a {
  display: block;
}

.app-download-badges li:hover {
  transform: translateY(-3px);
}

.app-download-badges img {
  height: 48px;
  width: auto !important;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.3s ease;
}

.app-download-badges li:hover img {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

/* Dedicated App Download CTA Section */
.app-cta-section {
  position: relative;
  background: linear-gradient(135deg, #25023e 0%, #340658 55%, #4b0a7a 100%);
  color: #fff;
  padding: 85px 0 75px;
  overflow: hidden;
}

.app-cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 106, 28, 0.22) 0%, rgba(232, 106, 28, 0) 70%);
  pointer-events: none;
}

.app-cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 162, 74, 0.18) 0%, rgba(255, 162, 74, 0) 70%);
  pointer-events: none;
}

.app-cta-content {
  position: relative;
  z-index: 2;
}

.app-cta-title {
  color: #fff;
  font-size: 2.3em;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.35;
}

.app-cta-title span {
  background: linear-gradient(to right, #FFA24A, #E86A1C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-cta-desc {
  font-size: 1.15em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  max-width: 620px;
}

.app-cta-badges {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.app-cta-badge-item a {
  display: inline-block;
  transition: transform 0.25s ease;
}

.app-cta-badge-item a:hover {
  transform: translateY(-3px);
}

.app-cta-badge-item img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.25s ease;
}

.app-cta-badge-item a:hover img {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.38);
}

.app-cta-mockup {
  text-align: center;
  position: relative;
  z-index: 2;
}

.app-cta-mockup img {
  max-width: 100%;
  max-height: 380px;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

/* Language Switcher Link in Nav */
.lang-switcher-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 15px !important;
  margin-top: 10px;
  margin-left: 8px;
  margin-right: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}

.is-transparent .lang-switcher-link {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.affix .lang-switcher-link {
  background: #340658;
  color: #fff !important;
  border-color: #340658;
}

.lang-switcher-link:hover {
  background: #FFA24A !important;
  color: #fff !important;
  border-color: #FFA24A !important;
  transform: translateY(-1px);
}

.nav-cta-download {
  display: inline-block !important;
  padding: 6px 18px !important;
  margin-top: 10px;
  margin-left: 6px;
  margin-right: 6px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFA24A 0%, #E86A1C 100%);
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 4px 12px rgba(232, 106, 28, 0.35);
  transition: all 0.3s ease;
}

.nav-cta-download:hover {
  box-shadow: 0 6px 16px rgba(232, 106, 28, 0.5);
  transform: translateY(-2px);
  color: #fff !important;
}

/* Footer App Links */
.footer-app-links {
  margin: 25px 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-app-links a {
  display: inline-block;
  transition: transform 0.25s ease;
}

.footer-app-links a:hover {
  transform: translateY(-2px);
}

.footer-app-links img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.footer-legal-links li {
  display: inline-block;
  margin: 0 10px;
}

.footer-legal-links li a {
  color: #666;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-legal-links li a:hover {
  color: #340658;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .lang-switcher-link,
  .nav-cta-download {
    margin: 8px 15px;
    display: inline-block !important;
  }
  .app-cta-content {
    text-align: center;
    margin-bottom: 35px;
  }
  .app-cta-desc {
    margin: 0 auto 25px;
  }
  .app-cta-badges {
    justify-content: center;
  }
  .header-texts {
    text-align: center;
  }
  .app-download-badges {
    justify-content: center;
  }
}
