/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }

/* ===== BASE ===== */
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1D00AE;
  background: #fff;
}

a { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
}

main {
  position: relative;
  z-index: 0;
}

/* ===== HEADER / NAV ===== */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: white;
}

body {
  padding-top: 80px;
}

.top .wrap { text-align: left; }

.top-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.top-inner ul {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo { width: 100px; height: auto; }

ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }
li { margin: 0; }

/* ===== CARD ===== */
.card {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f7f7f7);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #1D00AE;
  background: #1D00AE;
  color: #fff;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn.alt {
  background: transparent;
  color: #1D00AE;
}

.btn.alt:hover {
  background: #1D00AE;
  color: #fff;
}

/* ===== ROW ===== */
.row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== LANGUAGE SWITCH ===== */
.lang-switch {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #1D00AE;
  padding: 4px 6px;
  border-radius: 4px;
  opacity: 0.4;
  transition: opacity 0.15s;
  font-family: inherit;
}

.lang-btn:hover,
.lang-btn.active {
  opacity: 1;
}

.lang-btn.active {
  text-decoration: underline;
}

.lang-sep {
  color: #1D00AE;
  opacity: 0.3;
  font-size: 12px;
  user-select: none;
}

.auth-btn {
  opacity: 1;
  font-weight: 700;
}

/* ===== TYPOGRAPHY ===== */
.h { margin: 0 0 6px; font-size: 22px; }
.p { margin: 0 0 12px; color: #1D00AE; }
