/* ───────────────────────────────────────────── */
/* HAMBURGER BUTTON */
/* ───────────────────────────────────────────── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  gap: 5px;
  padding: 0;
  position: relative;
  top: -10px;
  z-index: 2100;
}

.ham-line {
  width: 20px;
  height: 1.5px;
  background: #f5f5f5;
  border-radius: 2px;
  transition: all 0.35s ease;
}

/* OPEN ANIMATION */
.hamburger.is-open .ham-top {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-open .ham-mid {
  opacity: 0;
}
.hamburger.is-open .ham-bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* ───────────────────────────────────────────── */
/* MOBILE DRAWER */
/* ───────────────────────────────────────────── */

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100dvh;
  background: rgba(0, 0, 0, 95%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -10px 0 40px rgba(0,0,0,0.6);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

/* subtle edge glow */
.mobile-drawer::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 0;
  width: 1px;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(133, 255, 100, 0.4),
    transparent
  );
}

/* ───────────────────────────────────────────── */
/* INNER */
/* ───────────────────────────────────────────── */

.drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 22px 28px;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* HEADER */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-close {
  display: none !important;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.drawer-close:hover {
  border-color: #85ff64;
  color: #85ff64;
}

/* ───────────────────────────────────────────── */
/* NAV LINKS */
/* ───────────────────────────────────────────── */

.drawer-nav {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.drawer-nav li {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.35s ease;
}

.mobile-drawer.is-open .drawer-nav li {
  opacity: 1;
  transform: none;
}

.drawer-link {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.25s ease;
  display: flex;
  justify-content: space-between;
}

.drawer-link::after {
  content: "→";
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.3s;
}

.drawer-link:hover {
  color: #fff;
  padding-left: 12px;
  letter-spacing: 0.3px;
}

.drawer-link:hover::after {
  opacity: 1;
  transform: none;
  color: #85ff64;
}

/* ACTIVE LINK */
.drawer-link.active {
  color: #85ff64;
  font-weight: 600;
}

/* ───────────────────────────────────────────── */
/* CTA */
/* ───────────────────────────────────────────── */

.drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0;
}

.drawer-ai-btn,
.drawer-start-btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* AI BUTTON */
.drawer-ai-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
}

.drawer-ai-btn:hover {
  background: rgba(133,255,100,0.08);
  border-color: #85ff64;
  color: #85ff64;
}

/* PRIMARY BUTTON */
.drawer-start-btn {
  background: linear-gradient(135deg, #85ff64, #6cff3c);
  color: #000;
  box-shadow: 0 6px 20px rgba(133,255,100,0.25);
}

.drawer-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(133,255,100,0.4);
}

/* ───────────────────────────────────────────── */
/* FOOTER */
/* ───────────────────────────────────────────── */

.drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px;
}

.drawer-footer p {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.drawer-socials {
  display: flex;
  gap: 12px;
}

.drawer-socials a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: 0.3s;
}

.drawer-socials a:hover {
  color: #85ff64;
}

/* ───────────────────────────────────────────── */
/* BACKDROP (BLACK BACKGROUND, NO BLUR) */
/* ───────────────────────────────────────────── */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85); /* 🔥 BLACK BACKGROUND */
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ───────────────────────────────────────────── */
/* BACKGROUND EFFECT (NO NAVBAR BLUR) */
/* ───────────────────────────────────────────── */

body.drawer-open {
  overflow: hidden;
}

body.drawer-open main,
body.drawer-open section,
body.drawer-open article {
  filter: blur(6px);
  transform: scale(0.98);
  transition: all 0.3s ease;
}

/* ───────────────────────────────────────────── */
/* RESPONSIVE */
/* ───────────────────────────────────────────── */

@media (max-width: 930px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none !important;
  }
}

@media (min-width: 930px) {
  .mobile-drawer,
  .drawer-backdrop {
    display: none !important;
  }
}