.app-header {
  background: #07152d;
  color: white;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-image {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: block;
}

.brand-text h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

.brand-text p {
  margin: 6px 0 0;
  color: #d0d7e5;
  font-size: 0.95rem;
}

.app-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.app-nav a {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: white;
  padding: 11px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.app-nav a:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.app-nav a.active {
  background: #215cff;
  border-color: #215cff;
}

@media (max-width: 1100px) {
  .app-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-nav {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .brand-image {
    width: 54px;
    height: 54px;
  }

  .brand-text h1 {
    font-size: 1.4rem;
  }

  .brand-text p {
    font-size: 0.82rem;
  }

  .app-nav {
    gap: 8px;
  }

  .app-nav a {
    padding: 9px 13px;
    font-size: 0.85rem;
  }
}


.app-footer {
  text-align: center;
  padding: 30px;
  color: var(--muted);
  font-size: 0.85rem;
}