* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fafafa;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

header {
  background: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

header h1 {
  font-size: 2.7rem;
  font-weight: 700;
}

.subtitle {
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem;
  font-weight: 500;
}

.info {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.info a {
  color: #fff;
  text-decoration: none;
}

.info a:hover {
  text-decoration: underline;
}

.lang-switch {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.lang-switch {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.lang-switch button {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 0.5rem 1rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  backdrop-filter: blur(6px); /* ефект прозорого скла */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.lang-switch button:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.lang-switch button:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.5);
}

.lang-switch button.active {
  background: #fff;
  color: #0052d4;
  box-shadow: 0 4px 15px rgba(0, 82, 212, 0.3);
}

main section {
  margin-bottom: 2.5rem;
}

h2 {
  color: #333;
  margin-bottom: 0.5rem;
  border-left: 4px solid #4364f7;
  padding-left: 0.5rem;
  font-weight: 600;
}

h3 {
  margin-top: 1rem;
  font-weight: 600;
}

ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

.role {
  color: #555;
  font-style: italic;
  margin-bottom: 0.5rem;
}

footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
  .container {
    padding: 1.5rem;
  }
}
