/* Pro Max Nav — 8px spacing scale, glass stroke, staggered hover, active underline, mobile thumb bar */
:root {
  --nav-space-1: 8px;
  --nav-space-2: 16px;
  --nav-space-3: 24px;
  --nav-space-4: 32px;
  --nav-space-5: 40px;
  --nav-space-6: 48px;
  --nav-space-8: 64px;
}

/* Pro Max glassmorphism: 1px low-opacity stroke for high-end definition */
nav {
  height: var(--nav-space-8);
  padding: 0 var(--nav-space-4);
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6), inset 0 1px 0 rgba(255,255,255,0.5);
}
.nav-left { gap: var(--nav-space-2); }
.nav-logo { gap: var(--nav-space-3); }
.nav-logo img { height: var(--nav-space-6); }
.nav-links { gap: var(--nav-space-3); }
.nav-links a {
  padding: var(--nav-space-1) 0;
  transition: color 0.2s ease, transform 0.2s ease;
  transition-delay: 0s;
  position: relative;
}
.nav-links li:nth-child(1) a { transition-delay: 0ms; }
.nav-links li:nth-child(2) a { transition-delay: 25ms; }
.nav-links li:nth-child(3) a { transition-delay: 50ms; }
.nav-links li:nth-child(4) a { transition-delay: 75ms; }
.nav-links li:nth-child(5) a { transition-delay: 100ms; }
.nav-links li:nth-child(6) a { transition-delay: 125ms; }
.nav-links li:nth-child(7) a { transition-delay: 150ms; }
.nav-links a:hover {
  color: var(--orange);
  transform: translateY(-2px);
}
.nav-links a.active {
  color: var(--orange);
  font-weight: 600;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transform: scaleX(1);
  transition: transform 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.btn-nav-ghost {
  padding: var(--nav-space-1) var(--nav-space-2);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-nav {
  padding: var(--nav-space-2) var(--nav-space-3);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232,98,42,0.35);
}

.nav-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  height: 56px;
  padding: 0 var(--nav-space-2);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -1px 0 rgba(255,255,255,0.6);
  align-items: center;
  justify-content: space-around;
  gap: var(--nav-space-1);
}
.nav-bottom a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--nav-space-1) var(--nav-space-2);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-bottom a:hover,
.nav-bottom a:focus {
  color: var(--orange);
  background: rgba(232,98,42,0.06);
}
.nav-bottom .nav-bottom-cta {
  color: #fff;
  background: var(--orange);
  font-weight: 700;
}
.nav-bottom .nav-bottom-cta:hover {
  background: var(--orange2);
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-actions-wrap { display: none; }
  .nav-bottom { display: flex; }
  body { padding-bottom: 72px; }
  #hero { padding-bottom: 80px; }
}
@media (min-width: 1001px) {
  .nav-bottom { display: none !important; }
}
