/* Kampus Landing — Teaser */

:root {
  --bg: #020B39;
  --white: #FFFFFF;
  --white-muted: rgba(255, 255, 255, 0.7);
  --white-inactive: rgba(255, 255, 255, 0.5);
  --border: rgba(255, 255, 255, 0.15);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
}

/* ── Navbar ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg);
  z-index: 10;

  opacity: 0;
  animation: fadeIn 0.6s ease-out 0s forwards;
}

.navbar-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--white-inactive);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 0;
  transition: color 0.2s ease;
  line-height: 1;
}

.lang-btn.active {
  color: var(--white);
}

.lang-separator {
  color: var(--white-inactive);
  padding: 0 8px;
  user-select: none;
}

/* ── Main content ── */
main {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-icon {
  width: 180px;
  height: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;

  opacity: 0;
  animation: fadeScale 0.8s ease-out 0.4s forwards;
}

/* ── Footer text (bottom of viewport) ── */
.tagline {
  position: fixed;
  bottom: 60px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--white-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;

  opacity: 0;
  animation: fadeIn 0.6s ease-out 1.0s forwards;
}

/* ── Animations ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── Responsive ── */
@media (min-width: 768px) {
  header {
    padding: 8px 30px;
  }

  .navbar-logo {
    height: 58px;
  }

  .logo-icon {
    width: 200px;
  }

  .tagline {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  header {
    padding: 10px 40px;
  }

  .navbar-logo {
    height: 64px;
  }

  .logo-icon {
    width: 220px;
  }

  .tagline {
    font-size: 16px;
  }
}
