/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  color: #243746;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

/* Landing Page */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  background: #5f93b6;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #5f93b6;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
}

.language-switcher {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border: none;
  background: rgba(255, 255, 255, 0);
  color: white;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.dropdown-trigger:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
}

.flag svg {
  width: 100%;
  height: 100%;
}

.lang-code {
  font-size: 0.875rem;
  font-weight: 600;
}

.chevron {
  transition: transform 0.2s;
}

.chevron.open {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  box-shadow: none;
  min-width: 180px;
  z-index: 1000;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: white;
  color: #333;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9375rem;
  border-radius: 0.375rem;
  margin-bottom: 0.25rem;
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item:nth-child(n+2):nth-child(-n+2) {
  border-top: none;
  border-bottom: none;
}

.dropdown-item:hover {
  background: #f3f4f6;
}

.dropdown-item.active {
  background: #f4f8fb;
  color: #2e5873;
  font-weight: 600;
}

.dropdown-item:focus-visible {
  outline: 2px solid #2e5873;
  outline-offset: -2px;
}

.lang-name {
  flex: 1;
}

.checkmark {
  margin-left: auto;
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #243746;
  text-align: center;
  background: linear-gradient(135deg, #f4f8fb 0%, #e8f0f7 100%);
  min-height: calc(100vh - 72px);
}

.hero-container {
  max-width: 800px;
  width: 100%;
}

.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #243746;
}

.hero-subtitle-cta {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  color: #2e5873;
  margin-top: 1rem;
}



/* Footer */
.footer {
  background: #2e5873;
  border-top: 3px solid #5f93b6;
  color: #ffffff;
  padding: 3rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-container {
    padding: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .signup-form {
    flex-direction: column;
  }

  .lang-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
}
