/* Welcome Page Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  overflow: hidden;
}

.welcome-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  max-height: 95vh;
  overflow-y: auto;
}

.welcome-content {
  background: white;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Welcome Hero */
.welcome-hero {
  margin-bottom: 0.75rem;
}

.welcome-icon {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.welcome-hero h2 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.welcome-hero p {
  font-size: 0.9rem;
  color: #7f8c8d;
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto;
}

/* Banner Section */
.banner-section {
  margin-bottom: 0.75rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-image {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: auto;
}

.banner-mobile {
  display: none;
}

.banner-desktop {
  display: block;
  max-height: 200px;
  object-fit: contain;
}

/* Features Section */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-card {
  padding: 0.75rem;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  background: #e8f4f8;
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%)
    hue-rotate(192deg) brightness(97%) contrast(88%);
}

.feature-card h3 {
  font-size: 0.95rem;
  color: #2c3e50;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.8rem;
  color: #7f8c8d;
  line-height: 1.35;
}

.mobile-extra {
  display: none;
}

/* Dashboard Button */
.btn-dashboard {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.7rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
  margin-bottom: 0.75rem;
}

.btn-dashboard:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn-dashboard:active {
  transform: translateY(-1px);
}

.btn-dashboard .arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.btn-dashboard:hover .arrow {
  transform: translateX(5px);
}

/* Language Switcher */
.language-switcher {
  padding-top: 0.75rem;
  border-top: 2px solid #e0e0e0;
}

.language-switcher p {
  font-size: 0.85rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.language-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lang-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  min-width: 90px;
}

.lang-btn:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.lang-btn.active {
  background: #667eea;
  color: white;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 0.25rem;
  }

  .welcome-content {
    padding: 0.75rem;
    border-radius: 12px;
  }

  .welcome-hero {
    margin-bottom: 0.5rem;
  }

  .welcome-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
  }

  .welcome-hero h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }

  .welcome-hero p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .banner-section {
    margin-bottom: 0.5rem;
  }

  .banner-image {
    max-width: 100%;
    border-radius: 8px;
  }

  .banner-desktop {
    display: none;
  }

  .banner-mobile {
    display: block;
    max-height: none !important;
    height: auto;
    object-fit: contain;
  }

  .features-section {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .desktop-only {
    display: none;
  }

  .mobile-extra {
    display: block;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e0e0e0;
  }

  .feature-card {
    padding: 0.6rem;
  }

  .feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .feature-card h3 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }

  .feature-card p {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .btn-dashboard {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 250px;
  }

  .btn-dashboard .arrow {
    font-size: 1.2rem;
  }

  .language-switcher {
    padding-top: 0.5rem;
  }

  .language-switcher p {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }

  .language-buttons {
    gap: 0.5rem;
  }

  .lang-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0.2rem;
  }

  .welcome-content {
    padding: 0.6rem;
  }

  .welcome-icon {
    font-size: 1.75rem;
  }

  .welcome-hero h2 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }

  .welcome-hero p {
    font-size: 0.75rem;
  }

  .banner-image {
    max-height: 80px;
  }

  .feature-card {
    padding: 0.5rem;
  }

  .feature-icon {
    font-size: 1.3rem;
  }

  .feature-card h3 {
    font-size: 0.8rem;
  }

  .feature-card p {
    font-size: 0.7rem;
  }

  .btn-dashboard {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
  }

  .lang-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    min-width: 75px;
  }
}
