/* Header Background Styling - Replicate Figma Design */

.header-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(14px);
  background: rgba(3, 8, 17, 0.72);
}

.header-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 720px 120px at center top, rgba(0, 200, 192, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(8, 21, 37, 0.86) 0%, rgba(3, 8, 17, 0.68) 100%);
  pointer-events: none;
  z-index: 1;
}

.header-container::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 200, 192, 0.12) 16%,
    rgba(0, 200, 192, 0.45) 36%,
    rgba(0, 217, 208, 0.95) 50%,
    rgba(0, 200, 192, 0.45) 64%,
    rgba(0, 200, 192, 0.12) 84%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 14px rgba(0, 200, 192, 0.32);
}

/* Header content - sits above gradients */
.header-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

/* Scrolled state */
.header-container.scrolled {
  backdrop-filter: blur(14px);
  background-color: rgba(3, 8, 17, 0.84);
}

.header-container.scrolled::before {
  background: linear-gradient(
    180deg,
    rgba(11, 24, 41, 0.97) 0%,
    rgba(11, 24, 41, 0.95) 100%
  );
}

.header-container.scrolled::after {
  opacity: 1;
}

/* Logo Section */
.logo-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.5rem;
  margin: -0.5rem;
  text-decoration: none;
}

.logo-button:hover {
  transform: translateY(-2px);
}

/* Logo in header - NO animation, transparent background */
.logo-image-header {
  background: none !important;
  display: block;
  width: 84px;
  max-width: 84px;
  height: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.logo-text-main {
  color: var(--accent-teal);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-text-sub {
  color: white;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-text-3d {
  color: #ff4444;
  font-size: 0.55rem;
  vertical-align: super;
  margin-left: 0.2rem;
}

/* Navigation */
.nav-menu {
  display: none;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex !important;
  }
}

.nav-item a {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.2s ease;
  text-transform: capitalize;
  font-weight: 500;
  text-decoration: none;
}

.nav-item a:hover {
  color: var(--accent-teal);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--accent-teal);
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle:hover {
  transform: rotate(5deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(11, 24, 41, 0.98);
  border-bottom: 1px solid rgba(0, 200, 192, 0.12);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
}

.mobile-menu.active {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: left;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 200, 192, 0.08);
  text-decoration: none;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--accent-teal);
}
