/* ================================================== */
/* Corporate Colors & Utilities */
/* ================================================== */
:root {
  --raising-black: #1b1e28;
  --dim-gray: #6c6e78;
  --white: #fff;
  --prussian-blue: #192C44;
  --mint: #5ABF92;
  --transition-base: 0.3s ease;
}

/* ================================================== */
/* Language Switcher */
/* ================================================== */
.language-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: 2.5rem;
  padding: 0.5rem;
  border: 1px solid var(--prussian-blue);
  border-radius: 0.5rem;
  background-color: rgba(25, 44, 68, 0.3);
}

.language-switcher button {
  background: transparent;
  border: none;
  color: var(--dim-gray);
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border-radius: 0.35rem;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.language-switcher button:hover {
  color: var(--mint);
  background-color: rgba(90, 191, 146, 0.1);
}

.language-switcher button.active {
  background-color: var(--mint);
  color: var(--raising-black);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(90, 191, 146, 0.3);
}

/* Language Switcher - Responsive */
@media (max-width: 1024px) {
  .language-switcher {
    margin-left: 1.5rem;
  }

  .language-switcher button {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .language-switcher {
    margin-left: 0.75rem;
    padding: 0.4rem;
    border: 1px solid var(--prussian-blue);
    gap: 0.35rem;
  }

  .language-switcher button {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* ================================================== */
/* Products Directory Page Styles */
/* ================================================== */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(27, 30, 40, 0.95) 0%, rgba(25, 44, 68, 0.9) 100%);
}

/* Product Cards */
.product-card {
  background: linear-gradient(135deg, rgba(55, 65, 81, 0.4) 0%, rgba(31, 41, 55, 0.4) 100%);
  border: 1px solid rgba(107, 114, 128, 0.3);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: var(--mint);
  box-shadow: 0 20px 25px rgba(90, 191, 146, 0.15);
  transform: translateY(-8px);
}

/* Product Card Icon Area */
.product-card .fa-solid {
  transition: all 0.3s ease;
}

.product-card:hover .fa-solid {
  transform: scale(1.1) rotate(5deg);
}

/* Product Card Links */
.product-card a {
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: auto;
}

.product-card a:hover {
  box-shadow: 0 10px 20px rgba(90, 191, 146, 0.2);
}

/* Comparison Table */
table {
  border-collapse: collapse;
}

table thead tr {
  background: rgba(31, 41, 55, 0.5);
}

table tbody tr:nth-child(odd) {
  background: rgba(31, 41, 55, 0.2);
}

table td {
  border-right: 1px solid rgba(107, 114, 128, 0.2);
}

table td:last-child {
  border-right: none;
}

table tbody tr:hover {
  background: rgba(90, 191, 146, 0.05) !important;
}

/* Check Icons */
.fa-check {
  animation: checkPulse 0.6s ease;
}

@keyframes checkPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .product-card {
    padding: 1.25rem;
  }
  
  table {
    font-size: 0.75rem;
  }
  
  table th,
  table td {
    padding: 0.5rem;
  }
}
