:root {
  --bg-dark: #090a0f;
  --primary: #f05a24;
  --primary-hover: #d94514;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: #212530;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  padding-top: 123px !important;
}

body > .top-bar {
  background-color: #06070a;
  border-bottom: 1px solid #161a24;
  height: 38px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  z-index: 1001;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

body > .top-bar .container,
body > header .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.top-bar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-info {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.top-bar-info a:hover {
  color: var(--primary);
}

.top-bar-badge {
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 11px;
}

body > header {
  position: fixed;
  top: 38px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(9, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

body > header .nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
  position: relative;
}

body > header .logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
}

body > header .logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

body > header .logo:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

body > header nav {
  display: flex;
  gap: 32px;
  align-items: center;
  height: 100%;
}

body > header .nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  cursor: pointer;
}

body > header .nav-item:hover,
body > header .nav-item.active {
  color: var(--text-main);
}

body > header .nav-item::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.7;
  transition: var(--transition);
}

body > header .nav-item.no-dropdown::after {
  display: none;
}

body > header .nav-item:hover::after {
  transform: translateY(2px);
}

body > header .header-cta {
  background-color: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}

body > header .header-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

body > header .products-li {
  height: 100%;
  display: flex;
  align-items: center;
}

body > header .mega-menu {
  position: absolute;
  top: 85px;
  left: 0;
  width: 100%;
  background-color: #10121a;
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

body > header .products-li:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body > header .mega-col h4 {
  font-family: 'Space Grotesk', Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

body > header .mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body > header .mega-col ul li {
  margin-bottom: 10px;
}

body > header .mega-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: var(--transition);
  display: block;
}

body > header .mega-col ul li a:hover {
  color: var(--text-main);
  padding-left: 6px;
}

@media (max-width: 900px) {
  body {
    padding-top: 100px !important;
  }

  body > .top-bar {
    display: none;
  }

  body > header {
    top: 0;
  }

  body > header .nav-wrapper {
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  body > header nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 18px;
  }

  body > header .mega-menu {
    position: fixed;
    top: 82px;
    grid-template-columns: 1fr 1fr;
    max-height: 70vh;
    overflow-y: auto;
  }
}
