/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

.site-header.header-scrolled {
  background: rgba(29, 27, 28, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-text {
  color: var(--color-white);
}

.logo-accent {
  color: var(--color-accent-blue);
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-ai {
  font-size: 0.75em;
  font-weight: 600;
  color: var(--color-nardo-grey);
  border: 1px solid var(--color-glass-border);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-nardo-grey);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--color-white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-blue);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Burger Menu */
.burger-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu div {
  width: 25px;
  height: 2px;
  background-color: var(--color-white);
  margin: 5px;
  transition: all 0.3s ease;
}

/* Mobile Nav Styles */
@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 100%;
    background-color: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.5s ease;
    z-index: 999;
  }

  .nav-links.nav-active {
    right: 0;
  }

  .header-cta {
    display: none; /* Hide button on mobile header, can move into menu if needed */
  }

  .nav-links li {
    opacity: 1; /* Handle animation if needed */
    margin-bottom: 2rem;
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .burger-menu {
    display: block;
  }

  /* Burger Animation */
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 5px);
  }
  .toggle .line2 {
    opacity: 0;
  }
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -5px);
  }
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
  background: radial-gradient(circle at center, rgba(56, 182, 255, 0.1) 0%, var(--color-bg-dark) 60%);
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(56, 182, 255, 0.15) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  z-index: 1;
  width: 100%;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

@media screen and (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  .hero-text {
    padding: 2rem 1rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: rgba(20, 19, 20, 0.8);
  border-top: 1px solid var(--glass-border);
  padding-top: 4rem;
  margin-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--color-nardo-grey);
}

.footer-col a:hover {
  color: var(--color-accent-blue);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--color-nardo-grey);
  font-size: 0.875rem;
}
