﻿/* Hero Banner - Premium Dark Glassmorphism */
.hero-banner {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  padding: 2.25rem 2rem 1.75rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Glass Highlight - Top Border simulation */
.hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

/* Subtle Glowing Orbs for Depth */
.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: drift 15s linear infinite alternate;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

/* Logo Container with Ambient Glow */
.hero-logo-container {
  position: relative;
  flex-shrink: 0;
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
  z-index: -1;
  filter: blur(5px);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-logo {
  width: 85px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-logo:hover {
  transform: scale(1.1) rotate(3deg);
  filter: drop-shadow(0 8px 25px rgba(96, 165, 250, 0.4));
}

/* Typography Enhancements */
.hero-text {
  text-align: left;
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.15rem;
  text-transform: none;
}

.hero-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.85;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(10px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-banner {
    padding: 1.5rem 1rem 1.25rem;
  }
  
  .hero-content {
    gap: 1.25rem;
  }
  
  .hero-logo {
    width: 65px;
  }
  
  .hero-title {
    font-size: 1.4rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    padding: 1rem 1rem 0.75rem;
  }
  
  .hero-logo {
    max-width: 50px;
  }
  
  .hero-title {
    font-size: 1.1rem;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
  }
}

/* Split viewport scrolls under banner */
body:has(.hero-banner) {
  overflow-y: auto;
}

.split-viewport {
  position: relative;
  z-index: 1;
}

