:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Header: full-width black-gradient bar */
.site-header {
  position: relative;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,.90), rgba(0,0,0,.75), rgba(0,0,0,.50));
  border-bottom: 1px solid rgba(255,255,255,.10); /* Optional: subtle separation from background video */
  backdrop-filter: blur(10px);
}

.site-header__inner {
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__name {
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 48vw;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__link {
  color: rgba(255,255,255,.90);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 10px;
  line-height: 1;
  white-space: nowrap;
}
.nav__link:hover {
  background: rgba(255,255,255,.10);
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.lang__link {
  color: rgba(255,255,255,.90);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.35);
  line-height: 1;
  white-space: nowrap;
}
.lang__link:hover {
  background: rgba(255,255,255,.08);
}
.lang__link.is-active {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.32);
}

@media (max-width: 900px) {
  .site-header__inner {
    padding: 14px 18px;
  }
  .brand__name {
    max-width: 55vw;
  }
  .nav {
    display: none; /* keep header compact on mobile */
  }
}

.page { min-height: 100vh; color: #fff; position: relative; }

.bg { position: fixed; inset: 0; z-index: -1; background: #000; overflow: hidden; }
.bg__video { width: 100%; height: 100%; object-fit: cover; }
.bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.60), rgba(0,0,0,.25), rgba(0,0,0,.70));
}

/* Header */
.brand__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Center card on landing page */
.center {
  min-height: calc(100vh - 160px);
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0 40px 12vh;
}

.card {
  width: min(560px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  padding: 28px;
  text-align: center;
}

.card__title { margin: 0; font-size: 28px; line-height: 1.2; }
.card__text { margin: 14px 0 0; color: rgba(255,255,255,.90); line-height: 1.6; }

.btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  text-decoration: none;
}
.btn:hover { background: rgba(0,0,0,.50); }

/* Footer */
.footer { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 40px; }
.footer__row {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.80);
  font-size: 14px;
  flex-wrap: wrap;
}
.footer__nav { display: flex; gap: 18px; }
.footer__nav a { color: rgba(255,255,255,.85); text-underline-offset: 3px; }
.footer__nav a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .center { padding-left: 18px; padding-right: 18px; }
  .footer { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 640px) {
  .card__title { font-size: 24px; }
}
