* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden; 
}

body {
  background-color: white;
  color: #1a1a1a;
  font-family: Arial, sans-serif;
  overflow-y: auto; 
}

.header {
  background-color: #0c2036;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  width: 100%;
  position: relative; 
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-img {
  width: 70px;
  object-fit: contain;
}

.logo-text {
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: inline;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-item {
  color: white;
  font-size: 14px;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-item:hover {
  text-decoration: underline;
}

.main {
  padding: 56px 16px;
  min-height: 100vh; 
}

.mobile-message {
  font-size: 16px;
}

.computer-message {
  justify-content: center; 
  height: 800px;
  text-align: center;
  display: flex;
  justify-content: center; 
  align-items: center; 
}

.footer {
  padding: 24px 16px;
  border-top: 1px solid #9a9a9a;
  text-align: center;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 40px;
  max-width: 135px;
  object-fit: contain;
}

.footer-logo.small {
  max-width: 105px;
}

.footer-text {
  font-size: 14px;
  font-weight: 600;
}

.popup {
  position: absolute; 
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.popup-content {
  background-color: white;
  max-width: 755px;
  width: 100%;
  padding: 24px;
  border-radius: 10px;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 28px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
}

.popup-close:hover {
  color: #1e40af;
}

.popup-text {
  text-align: justify;
  line-height: 1.6;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.mobile-message {
  max-width: 600px;
  margin: 0 auto; 
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px; 
  text-align: left;
}

.mobile-message h1 {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
}

.mobile-message h2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 24px;
}

.mobile-message p {
  line-height: 1.5;
  margin-top: 12px;
}

.mobile-message .download-button {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.mobile-message .download-button a {
  background-color: #0c2036;
  color: white;
  text-transform: uppercase;
  padding: 24px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
  min-width: 150px;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-message .download-button a:hover {
  background-color: #1d4ed8; 
}

.nav {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-item {
  color: white;
  font-size: 1rem;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 0;
  text-decoration: none;
}

.nav-item:hover {
  text-decoration: underline;
}
