/* ---- Reset & Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #0a0a0a;
  color: #fafafa;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Canvas background layer ---- */
nav, header, section, div, footer {
  position: relative;
  z-index: 1;
}

/* ---- Top nav ---- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-brand img {
  width: 24px;
  height: 24px;
}

.nav-brand span {
  font-size: 15px;
  font-weight: 600;
  color: #fafafa;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #888;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.nav-links a:hover {
  color: #fafafa;
}

.nav-links a.active {
  color: #d4a017;
}

.btn-login {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(212, 160, 23, 0.4);
  background: transparent;
  color: #d4a017;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-login:hover {
  background: rgba(212, 160, 23, 0.1);
  border-color: #d4a017;
}

/* ---- Layout ---- */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Page header (subpages) ---- */
.page-header {
  padding-top: 120px;
  padding-bottom: 48px;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.page-header p {
  color: #888;
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Footer ---- */
footer {
  padding: 48px 24px 32px;
  border-top: 1px solid #1a1a1a;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #666;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #d4a017;
}

.footer-contact {
  color: #444;
  font-size: 13px;
}

.footer-contact a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #d4a017;
}

.footer-copy {
  color: #444;
  font-size: 13px;
}

/* ---- Animations ---- */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .top-nav {
    padding: 16px 20px;
  }

  .nav-left {
    gap: 20px;
  }

  .nav-brand span {
    display: none;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .page-header {
    padding-top: 100px;
    padding-bottom: 32px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .footer-links {
    gap: 16px;
  }
}
