@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
}

/* Fix button defaults in Safari */
button {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

.gradient-bg {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.hero-slide {
  transition: opacity 1s ease-in-out;
}

.device-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.feature-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.nav-scrolled {
  background-color: rgba(5, 150, 105, 0.95);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.channel-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.channel-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Mobile Menu Styles */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Modal Styles */
.modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  transform: scale(0.9);
  transition: transform 0.3s ease-in-out;
}

.modal.open .modal-content {
  transform: scale(1);
}

/* Contact Modal Styles */
.contact-option {
  transition: all 0.3s ease;
}

.contact-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Language Switcher */
.lang-btn {
  transition: all 0.3s ease;
}

.lang-btn.active {
  background-color: #059669 !important;
  color: white !important;
  border-color: #059669 !important;
}

/* Language Switcher Dropdown Styles */
#language-switcher {
  position: fixed;
  top: 10px;
  right: 60px;
  z-index: 1000;
}

#language-dropdown {
  position: fixed;  
  top: 55px; 
  right: 32px;
  max-width: 150px;
  z-index: 1001;
  animation: fadeIn 0.2s ease-in-out;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.lang-option {
  transition: all 0.2s ease;
}

.lang-option:hover {
  transform: translateX(2px);
}

/* Welcome Modal Animation */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.welcome-modal .modal-content {
  animation: slideInUp 0.5s ease-out;
}
