/* Footer styles */
.footer {
  background-color: #f8f9fa;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid #e9ecef;
  margin-top: 2rem;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.03);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-section {
  margin-bottom: 1.5rem;
  flex: 1;
  min-width: 250px;
  padding: 0 1rem;
}

/* Simplified footer layout */
.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}

.footer-links-row a {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 0.25rem 0;
}

.footer-links-row a:hover {
  color: #635BFF;
}

@media (max-width: 600px) {
  .footer-links-row {
    gap: 0.5rem 1rem;
    padding: 0 1.5rem;
  }

  .footer-links-row a {
    font-size: 0.85rem;
  }
}

/* Footer app store badges */
.footer-app-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.footer-app-badges a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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


.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-section.full-width {
  flex: 1 0 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: #333;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h4:after {
  content: '';
 }

.footer-section p {
  color: #555;
  line-height: 1.6;
}

.footer-section a {
  color: #635BFF;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #4b45c6;
  text-decoration: underline;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid #e9ecef;
  color: #6c757d;
  font-size: 0.9rem;
  width: 100%;
}

/* Easy Payments section */
.easy-payments-section {
  margin: 2rem 0;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #f9f9f9, #f2f2f2);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.easy-payments-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 6px 6px 0 0;
}

.easy-payments-section h4 {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: #333;
  margin-top:1.5rem;
}

.easy-payments-section h4:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #3498db, #2980b9, transparent);
}

/* Trust signals section */
.trust-signals-container {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  margin-bottom: 2rem;
  border: 1px solid #f0f0f0;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background-color: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  flex: 1;
  min-width: 160px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.03);
}

.trust-badge:hover {
  background-color: #ffffff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.trust-badge i {
  color: #635BFF; /* Stripe purple */
  font-size: 1.5rem;
}

.trust-badge.no-fees i {
  color: #28a745; /* Green for no fees */
}

.trust-badge span {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 1.5rem 0;
  align-items: center;
  padding: 1.75rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
}

.payment-methods .payment-icon {
  transition: all 0.3s ease;
}

.payment-methods .payment-icon i {
  font-size: 2.5rem;
}

.payment-methods .payment-icon:hover {
  transform: translateY(-3px);
}

.payment-methods .fa-cc-visa {
  color: #1434CB;
}

.payment-methods .fa-cc-mastercard {
  color: #EB001B;
}

.payment-methods .fa-cc-amex {
  color: #006FCF;
}

.payment-methods .fa-apple-pay {
  color: #000000;
}

.payment-methods .fa-google-pay {
  color: #4285F4;
}

.stripe-secured {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.03);
}

.stripe-secured i {
  font-size: 1.8rem;
  color: #635BFF;
}

.stripe-secured span {
  font-size: 0.9rem;
  color: #5f6368;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Footer contact section */
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  margin: 0 auto;
  max-width: 1200px;
}

.footer-contact .contact-label {
  color: #6c757d;
  font-size: 0.9rem;
}

.footer-contact a {
  color: #635BFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* BTCPay Server footer section */
.footer-payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0;
  margin: 0 auto;
  max-width: 1200px;
}

.payments-label {
  color: #6c757d;
  font-size: 0.9rem;
}

.btcpay-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.btcpay-link:hover {
  background: #e9ecef;
  color: #51b13e;
  border-color: #51b13e;
}

.btcpay-footer-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Language and Currency switchers container */
.footer-switchers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Language switcher */
.footer-language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

.footer-language-switcher .lang-label {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.footer-language-switcher .lang-link {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.footer-language-switcher .lang-link:hover {
  color: #333;
  background-color: #f8f9fa;
  border-color: #e9ecef;
}

.footer-language-switcher .lang-link.active {
  color: #635BFF;
  font-weight: 600;
  background-color: #f0efff;
  border-color: #635BFF;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    width: 100%;
    margin-bottom: 2rem;
    padding: 0;
  }

  .trust-signals {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-badge {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;
  }

  .footer-contact {
    padding: 0.75rem 1rem;
  }

  .footer-payments {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }

  .footer-language-switcher {
    gap: 0.35rem;
  }

  .footer-language-switcher .lang-link {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }

  .copyright {
    padding: 1rem 1.5rem;
  }

  .footer-switchers {
    gap: 0.75rem;
  }
}

/* Currency switcher */
.footer-currency-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

.footer-currency-switcher .currency-label {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Currency dropdown select */
.currency-select {
  color: #333;
  background-color: #fff;
  border: 1px solid #28a745;
  font-size: 0.9rem;
  padding: 0.4rem 2rem 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2328a745' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  min-width: 100px;
}

.currency-select:hover {
  border-color: #218838;
  background-color: #f8f9fa;
}

.currency-select:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

@media (max-width: 768px) {
  .footer-currency-switcher {
    gap: 0.35rem;
  }

  .currency-select {
    font-size: 0.85rem;
    padding: 0.35rem 1.75rem 0.35rem 0.6rem;
    min-width: 90px;
  }
}
