:root {
  --bg: #050507;
  --bg2: #0d0d12;
  --border: rgba(255,255,255,0.07);
  --text: #e8e8f0;
  --muted: #6b6b80;
  --accent: #7c6aff;
  --accent2: #00d4ff;
  --designer: #a78bfa;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Nav ── */
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 2rem; height: 60px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: rgba(5,5,7,0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  z-index: 200;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo .logo-img { height: 20px; width: auto; display: block; filter: brightness(0) invert(1); }

.nav-links { list-style: none; display: flex; align-items: center; gap: 0.2rem; }
.nav-links li a {
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
  padding: 0.4rem 0.85rem; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links li a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-designer {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.82rem; font-weight: 600;
  padding: 0.4rem 0.9rem; border-radius: 8px; color: var(--designer);
  background: rgba(124,106,255,0.1); border: 1px solid rgba(124,106,255,0.3);
  transition: all .2s;
}
.nav-designer:hover { background: rgba(124,106,255,0.2); border-color: rgba(124,106,255,0.6); }
.nav-designer .badge { font-size: 0.58rem; background: var(--accent); color: #fff; padding: 2px 5px; border-radius: 4px; font-weight: 700; letter-spacing: 1px; }
.nav-divider { width: 1px; height: 16px; background: var(--border); margin: 0 0.3rem; flex-shrink: 0; }

/* ── Hamburger (mobile only) ── */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { display: block; height: 2px; background: #aaa; border-radius: 2px; transition: all .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ── */
@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(10,10,15,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); padding: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a, .nav-designer { display: block; padding: 0.75rem 1rem; border-radius: 10px; width: 100%; }
  .nav-divider { display: none; }
  .nav-designer { margin-bottom: 0.5rem; text-align: center; justify-content: center; }
  .nav-links li a { color: var(--muted); background: none; border: none; }
}

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 3rem 2rem 2.5rem; margin-top: 6rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2.5rem;
}
.footer-brand .wordmark { font-size: 0.85rem; font-weight: 800; letter-spacing: 3px; color: #fff; }
.footer-brand p { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.6; max-width: 260px; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a { font-size: 0.82rem; color: var(--muted); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.2rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--muted); transition: color .2s, background .2s, border-color .2s;
}
.footer-social a:hover { color: #fff; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.76rem; color: var(--muted); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
