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

/* ── CSS VARIABLES ── */
:root {
  --brand-blue: #1a5fd4;
  --nav-text:   #3a3a3a;
  --nav-hover:  #1a5fd4;
  --bg:         #ffffff;
  --shadow:     0 1px 6px rgba(0, 0, 0, 0.08);
  --header-h:   68px;
}

/* ── BASE ── */
body {
  font-family: 'Poppins', sans-serif;
  background: #f0f4fb;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  box-shadow: var(--shadow);
  height: var(--header-h);
}

/* ── NAV INNER ── */
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── LOGO ── */
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.3px;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── DESKTOP NAV LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nav-text);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--nav-hover);
  background: rgba(26, 95, 212, 0.06);
}

/* ── LOGIN BUTTON ── */
.btn-login {
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--brand-blue);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(26, 95, 212, 0.35);
  flex-shrink: 0;
}

.btn-login:hover {
  background: #1450b8;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(26, 95, 212, 0.45);
}

.btn-login:active {
  transform: translateY(0);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
}

.hamburger:hover {
  background: rgba(26, 95, 212, 0.07);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nav-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 16px 24px 24px;
  z-index: 999;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.mobile-menu ul a {
  display: block;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--nav-text);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.mobile-menu ul a:hover {
  background: rgba(26, 95, 212, 0.06);
  color: var(--brand-blue);
}

.mobile-menu .btn-login {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 0.95rem;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 768px) {
  .nav-links,
  header .btn-login {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 400px) {
  .nav-inner {
    padding: 0 18px;
  }

  .logo {
    font-size: 1.1rem;
  }
}

/* ── DEMO PAGE CONTENT ── */
.demo-body {
  max-width: 720px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
  color: #555;
  font-family: 'Poppins', sans-serif;
}

.demo-body h1 {
  font-size: 1.6rem;
  color: #222;
  font-weight: 600;
  margin-bottom: 10px;
}

.demo-body p {
  font-size: 0.95rem;
  line-height: 1.7;
}
