@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

:root {
  --black: #080808;
  --white: #f5f3ef;
  --dim: #a09c94;
  --accent: #e8e0d0;
  --card: #111110;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 20px;
  --green: #6ee38a;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  letter-spacing: -0.3px;
  text-decoration: none;
  color: var(--white);
}

.nav-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

nav ul a {
  text-decoration: none;
  color: var(--dim);
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s;
}

nav ul a:hover,
nav ul a.active {
  color: var(--white);
}

.nav-cta {
  background: var(--white);
  color: var(--black) !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.85;
  color: var(--black) !important;
}

.nav-back {
  color: var(--dim);
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--white);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--dim);
}

footer nav {
  position: static;
  background: none;
  border: none;
  padding: 0;
  backdrop-filter: none;
}

footer nav ul {
  gap: 28px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(160, 156, 148, 0.5);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav {
    padding: 18px 24px;
  }

  nav ul {
    display: none;
  }

  footer {
    padding: 32px 24px;
    flex-direction: column;
    text-align: center;
  }
}
