/* Reset & base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navigation bar */
nav {
  background: #000;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  user-select: none;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

nav a:hover,
nav a:focus {
  color: #3f82ff;
  outline: none;
}

/* Logo in nav bar */
.nav-logo-link {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 1.5rem;
}

.nav-logo {
  height: 32px;
  display: block;
}

/* Main content */
main {
  flex-grow: 1;
  max-width: 720px;
  margin: 2.5rem auto 3.5rem;
  padding: 1.5rem 1rem;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

main h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
  text-align: center;
}

main p {
  font-size: 1.2rem;
  color: #555;
  margin-top: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  line-height: 1.7;
}

main ul {
  list-style: disc;
  padding-left: 1.5rem;
  line-height: 1.8;
}

/* Centered logo section (Home) */
.centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2.2rem;
}

.logo {
  max-width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(77, 166, 255, 0.35) 0%, rgba(77, 166, 255, 0) 75%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.9;
  }
}

/* Button */
.btn-download {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #3478f6;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1.8rem;
  transition: background 0.25s;
}

.btn-download:hover {
  background: #3f82ff;
}
.btn-primary {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  background: #3478f6;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.25s;
  border: none;
}

.btn-primary:hover {
  background: #3f82ff;
}

.btn-outline {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border: 2px solid #3478f6;
  color: #3478f6;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  background: transparent;
}

.btn-outline:hover {
  background: #f0f7ff;
}

.lang-switch {
  margin-left: auto;
  color: #3f82ff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.lang-switch:hover {
  background: #e8f0ff;
}

/* About page */
main.about {
  padding: 2rem 1.5rem;
}
.founder-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.founder-card {
  flex: 1 1 280px;
  background: #f9fbff;
  border: 1.5px solid #e0ecff;
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 4px 10px rgba(63, 130, 255, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  min-height: 240px;
}

.founder-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
}

.founder-info {
  flex-grow: 1;
  text-align: left;
}

.founder-info h2 {
  font-size: 1.5rem;
  margin: 0 0 0.3rem;
  color: #222;
}

.founder-info .role {
  color: #3f82ff;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.founder-info .bio {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Join page cooperation section */
.cooperate-section {
  max-width: 720px;
  margin: 3rem auto;
  padding: 2rem 1.5rem;
  background: #f8faff;
  border-left: 4px solid #3f82ff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(63, 130, 255, 0.05);
}

.cooperate-section h2 {
  color: #222;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.cooperate-section p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

.cooperate-section ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
  color: #555;
  line-height: 1.7;
}

.cooperate-section a {
  font-weight: bold;
  color: #3f82ff;
  text-decoration: none;
}

.cooperate-section a:hover {
  text-decoration: underline;
}

/* Privacy Box for Join Page */
.privacy-box {
  background: #eef5ff;
  border-left: 4px solid #3f82ff;
  padding: 1.2rem 1.4rem;
  margin-top: 1.8rem;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(63, 130, 255, 0.08);
  word-break: break-word;
}

.privacy-box a {
  color: #2a6be5;
  font-weight: 600;
  text-decoration: none;
}

.privacy-box a:hover {
  text-decoration: underline;
}

/* Log page entries */
.log-container {
  background: #f8faff;
  border-left: 5px solid #3f82ff;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(63, 130, 255, 0.06);
}

.log-title {
  text-align: left;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #222;
}

.log-subtitle {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.log-entry {
  margin-bottom: 2.5rem;
  padding-left: 1rem;
  border-left: 3px solid #9dc5ff;
}

.log-entry h2 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: #111;
}

.log-date {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 0.6rem;
}

.log-entry ul {
  padding-left: 1.5rem;
  color: #444;
}

.log-entry li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background: #f3f3f3;
  color: #666;
  font-size: 0.9rem;
  padding: 1rem 0;
  text-align: center;
  user-select: none;
}

/* Responsive */
@media (max-width: 480px) {
  main {
    margin: 3rem 1rem 4rem;
    padding: 1.5rem 1rem;
  }

  main h1 {
    font-size: 2rem;
  }

  nav {
    font-size: 1rem;
    gap: 1.2rem;
    justify-content: center;
  }

  .nav-logo {
    height: 28px;
  }

  .nav-logo-link {
    margin-bottom: 0.5rem;
    margin-right: 1rem;
  }

  .cooperate-section {
    margin: 2rem 1rem;
    padding: 1.5rem 1rem;
  }

  .log-entry {
    padding: 1rem 1rem 1rem 1.2rem;
  }
}
