/* ================================================== */
/* Hattwins - Corporate Colors & Utilities */
/* ================================================== */
:root {
  --raising-black: #1b1e28;
  --dim-gray: #6c6e78;
  --white: #fff;
  --prussian-blue: #192C44;
  --mint: #5ABF92;
  --product-accent: #5ABF92; /* Mint - using global mint */
  --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;
  }
}

/* ================================================== */
/* Hattwins - Product Specific Styles */
/* ================================================== */

/* Hero Section Customizations */
.hero-section {
  background: linear-gradient(135deg, rgba(27, 30, 40, 0.9) 0%, rgba(25, 44, 68, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

/* Add animated background elements for Hattwins */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(90, 191, 146, 0.05) 0%, transparent 70%);
  animation: rotate-bg 20s linear infinite;
  z-index: 0;
}

@keyframes rotate-bg {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Feature Cards Enhancement */
.feature-card {
  transition: all 0.3s ease;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(90, 191, 146, 0.1) 0%, transparent 100%);
  border-radius: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px rgba(90, 191, 146, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover .fa-solid {
  color: var(--mint);
  transform: scale(1.15);
  transition: all 0.3s ease;
}

/* Button Styles */
.px-8,
.px-10 {
  transition: all 0.3s ease;
  position: relative;
}

.px-8:hover,
.px-10:hover {
  box-shadow: 0 10px 20px rgba(90, 191, 146, 0.2);
}

/* Use Cases Grid */
@media (max-width: 768px) {
  .grid.md\\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 1rem 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .hero-section::before {
    animation: rotate-bg 30s linear infinite;
  }
}
