/* ==========================================
   HEADER COMPONENT STYLES - TR7ASSEMBLY
   ========================================== */
.main-header {
  background: rgba(8, 8, 8, 0.95);
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

/* Brand Logo Container */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-weight: 900;
  font-size: 1.35rem;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1;
  font-family: monospace;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.mobile-nav-header {
  display: none; /* Hidden on Desktop */
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: #888888;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: monospace;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover {
  color: #FFFFFF;
}

.nav-num {
  display: none; /* Only show numbers on mobile drawer */
}

/* Secondary Action: Login Link */
.nav-links a.nav-login {
  color: #aaa;
  border-left: 1px solid #333;
  padding-left: 18px;
}

.nav-links a.nav-login:hover {
  color: #ff0000;
}

/* Primary CTA Button (Huge Visual Weight) */
.btn-header-cta {
  background: #ff0000 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  padding: 8px 18px !important;
  font-size: 0.8rem !important;
  font-family: monospace !important;
  font-weight: bold !important;
  border-radius: 4px !important;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4) !important;
  transition: all 0.3s ease !important;
  border: 1px solid #ff0000 !important;
}

.btn-header-cta:hover {
  background: #cc0000 !important;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.7) !important;
  transform: translateY(-1px);
}

/* Hamburger Toggle Button (Mobile) */
.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-toggle-btn span {
  width: 24px;
  height: 2px;
  background: #ff0000;
  display: block;
}

/* RESPONSIVE MOBILE DRAWER (SaaS TECHNICAL STYLE) */
@media (max-width: 850px) {
  .mobile-toggle-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    border-left: 1px solid rgba(255, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 25px 20px;
    gap: 25px;
    transition: right 0.3s ease;
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.9);
  }

  .nav-menu.mobile-open {
    right: 0;
  }

  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #333;
    padding-bottom: 15px;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: bold;
  }

  .close-mobile-nav {
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.95rem;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #181818;
  }

  .nav-num {
    display: inline;
    color: #ff0000;
    font-weight: bold;
    font-size: 0.8rem;
  }

  .nav-links a.nav-login {
    border-left: none;
    padding-left: 0;
  }

  .btn-header-cta {
    width: 100%;
    text-align: center;
    padding: 12px !important;
    margin-top: 10px;
  }
}