:root {
  --bg: #0f1724;
  --card: #0b1220;
  --accent: #06b6d4;
  --muted: #9aa7b2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
}

body {
  background:#07121f;
  color: #e6eef6;
}

/* NAVBAR */
.nav {
  width: 100%;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(6px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 6px 24px rgba(2, 6, 23, 0.6);
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

/* LOGO + TITLE */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  border-radius: 8px;
  display: grid;
  place-items: center;
  animation: logoEnter 0.6s ease;
}

@keyframes logoEnter {
  from { opacity: 0; transform: translateY(-8px) scale(0.85); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* DESKTOP MENU */
.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  position: relative;
  padding: 6px 4px;
}

.menu a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: 0.25s;
}

.menu a:hover {
  color: #fff;
}

.menu a:hover::before {
  transform: scaleX(1);
}

.cta {
  padding: 8px 14px;
  background: linear-gradient(90deg, var(--accent), #3b82f6);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  color: #022;
  cursor: pointer;
}

/* HAMBURGER */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger .bar {
  width: 24px;
  height: 2px;
  background: var(--muted);
  margin: 4px 0;
  transition: 0.3s;
}

.hamburger.open .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* MOBILE MENU PANEL */
.mobile-panel {
  display: none;
  background: rgba(6, 8, 12, 0.96);
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-panel a {
  display: block;
  padding: 12px 8px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  border-radius: 6px;
}

.mobile-panel a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mobile-cta {
  background: linear-gradient(90deg, var(--accent), #3b82f6);
  padding: 10px;
  color: #022 !important;
  border-radius: 8px;
  margin-top: 10px;
  display: inline-block;
}

/* MOBILE ANIMATIONS */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}

.slideDown {
  animation: slideDown 0.25s ease forwards;
}

.slideUp {
  animation: slideUp 0.25s ease forwards;
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .menu {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .title {
    font-size: 16px;
  }
}

/* DEMO SECTION */
.demo {
  padding-top: 110px;
  max-width: 900px;
  margin: auto;
  padding: 40px;
  color: var(--muted);
}
