/* Modern Header Styles */
.modern-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0;
  transition: all 0.3s ease;
  pointer-events: auto;
  overflow: hidden;
}

.modern-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.modern-header .header-container {
  position: relative;
  z-index: 2;
}

.modern-header.scrolled {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modern-header.scrolled .logo-text {
  color: white;
}

.modern-header.scrolled .nav-link {
  color: white;
}

.modern-header.scrolled .nav-action-button-outline {
  color: white;
  border-color: white;
}

.modern-header.scrolled .nav-action-button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modern-header.scrolled .nav-action-button-solid {
  color: #1a1a2e;
  background: white;
  border-color: white;
}

.modern-header.scrolled .nav-action-button-solid:hover {
  background: rgba(255, 255, 255, 0.9);
}

.modern-header.scrolled .mobile-menu-btn {
  color: white;
}

.modern-header.scrolled .logo-icon svg {
  color: #93C5FD;
}

.modern-header.scrolled .logo-icon svg circle {
  fill: #60A5FA;
}

.modern-header.scrolled .logo-icon svg line {
  stroke: #60A5FA;
}


.modern-header.non-landing .logo-text {
  color: white;
}

.modern-header.scrolled .nav-link {
  color: white;
}

.modern-header.scrolled .nav-action-button-outline {
  color: white;
  border-color: white;
}

.modern-header.scrolled .nav-action-button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modern-header.scrolled .nav-action-button-solid {
  color: #1a1a2e;
  background: white;
  border-color: white;
}

.modern-header.scrolled .nav-action-button-solid:hover {
  background: rgba(255, 255, 255, 0.9);
}

.modern-header.scrolled .mobile-menu-btn {
  color: white;
}

.modern-header.scrolled .logo-section {
  color: #1a1a2e;
}

.modern-header.non-landing .logo-text {
  color: white;
}

/* Header for non-landing pages */
.modern-header.non-landing {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modern-header.non-landing .logo-text {
  color: white;
}

.modern-header.non-landing .nav-link {
  color: white;
}

.modern-header.non-landing .nav-action-button-outline {
  color: white;
  border-color: white;
}

.modern-header.non-landing .nav-action-button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modern-header.non-landing .nav-action-button-solid {
  color: #1a1a2e;
  background: white;
  border-color: white;
}

.modern-header.non-landing .nav-action-button-solid:hover {
  background: rgba(255, 255, 255, 0.9);
}

.modern-header.non-landing .mobile-menu-btn {
  color: white;
}

.modern-header.non-landing .logo-icon svg {
  color: #93C5FD;
}

.modern-header.non-landing .logo-icon svg circle {
  fill: #60A5FA;
}

.modern-header.non-landing .logo-icon svg line {
  stroke: #60A5FA;
}

.modern-header.non-landing .logo-section {
  color: #1a1a2e;
}

.header-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.header-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.header-floating-shape {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(59, 130, 246, 0.5);
  filter: blur(1.5px);
  animation: float 8s ease-in-out infinite;
}

.header-shape-1 {
  width: 120px;
  height: 60px;
  top: -10%;
  left: 5%;
  animation-delay: 0s;
}

.header-shape-2 {
  width: 80px;
  height: 100px;
  top: 20%;
  right: 8%;
  animation-delay: 2s;
}

.header-shape-3 {
  width: 100px;
  height: 40px;
  top: 60%;
  left: 10%;
  animation-delay: 4s;
}

.header-shape-4 {
  width: 60px;
  height: 80px;
  top: 10%;
  right: 20%;
  animation-delay: 1s;
}

.header-shape-5 {
  width: 90px;
  height: 50px;
  top: 50%;
  right: 35%;
  animation-delay: 3s;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
  min-height: 60px;
  overflow: hidden;
  padding: 16px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.logo-section {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  border: none;
  outline: none;
  height: 100%;
  flex-shrink: 0;
  gap: 12px;
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: white;
  font-family: 'Helvetica', 'Arial', sans-serif;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: space-between;
  width: 100%;
}

.nav-links-group {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  justify-content: center;
}

.nav-actions-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 16px;
  transition: opacity 0.2s ease;
  pointer-events: auto;
  white-space: nowrap;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-action-button {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-radius: 6px;
  padding: 8px 20px;
  border: 1px solid white;
}

.nav-action-button-outline {
  color: white;
  background: transparent;
  border: 1px solid white;
}

.nav-action-button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-action-button-solid {
  color: #1a1a2e;
  background: white;
  border: 1px solid white;
}

.nav-action-button-solid:hover {
  background: rgba(255, 255, 255, 0.9);
}

.login-link {
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10001;
}

.mobile-menu-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-action-button {
  border-radius: 6px;
  padding: 12px 20px;
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  width: 100%;
  border: 1px solid white;
}

.mobile-nav-action-button-outline {
  color: white;
  background: transparent;
  border: 1px solid white;
}

.mobile-nav-action-button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-action-button-solid {
  color: #1a1a2e;
  background: white;
  border: 1px solid white;
}

.mobile-nav-action-button-solid:hover {
  background: rgba(255, 255, 255, 0.9);
}

a.nav-action-button {
  display: inline-block;
  text-decoration: none;
}
