@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-color: #F7F5F2;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --accent-color: #E25822;
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(255, 255, 255, 0.5);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 0.5s ease-out;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

h1, h2, h3 {
  color: var(--text-primary);
  margin-bottom: 16px;
  margin-top: 32px;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-secondary);
}

li {
  margin-bottom: 8px;
}

a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.2);
  text-underline-offset: 4px;
  transition: all 0.2s ease;
  font-weight: 500;
}

a:hover {
  text-decoration-color: var(--text-primary);
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: var(--text-primary);
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  color: var(--text-primary);
  text-decoration: none;
}

.footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
  animation: fadeIn 1s ease-out 0.5s forwards;
  opacity: 0;
}

.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.lang-switch button {
  background: rgba(0,0,0,0.05);
  border: none;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.lang-switch button:hover {
  background: rgba(0,0,0,0.1);
  color: var(--text-primary);
}

.lang-switch button.active {
  background: var(--text-primary);
  color: white;
}

.lang-section {
  display: none;
}

.lang-section.active {
  display: block;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .container {
    padding: 24px 16px;
  }
  .card {
    padding: 24px;
  }
}
