/* ====== Enhanced Header Styles ====== */
:root {
  --header-h: 72px;
  --header-bg: rgba(255, 255, 255, 0.85);
  --header-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  --nav-hover: #1E88E5;
}

@media(max-width: 768px) {
  :root { --header-h: 60px; }
}

/* Header Container */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  box-shadow: var(--header-shadow);
  transition: all 0.3s ease;
}

/* Scroll State */
.site-header.scrolled {
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-title {
  margin: 0;
  flex-shrink: 0;
}

.site-logo {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.site-title a:hover .site-logo {
  transform: scale(1.05);
}

/* Navigation */
.global-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 40px;
}

.global-nav ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

.global-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
  padding: 8px 0;
}

.global-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nav-hover);
  transition: width 0.3s ease;
}

.global-nav a:hover {
  color: var(--nav-hover);
}

.global-nav a:hover::after {
  width: 100%;
}

/* Active State */
.global-nav a.active {
  color: var(--nav-hover);
  font-weight: 700;
}

.global-nav a.active::after {
  width: 100%;
}

/* CTA Button Enhanced */
.signup-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #1E88E5 0%, #42A5F5 100%);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
  position: relative;
  overflow: hidden;
}

.signup-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.signup-btn:hover::before {
  left: 100%;
}

.signup-btn .btn-text {
  margin: 0;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media(max-width: 768px) {
  .global-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    margin: 0;
    padding: 40px 20px;
    overflow-y: auto;
  }
  
  .global-nav.active {
    transform: translateX(0);
  }
  
  .global-nav ul {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  
  .global-nav a {
    font-size: 18px;
    padding: 12px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-inner {
    padding: 0 16px;
  }
  
  .site-logo {
    height: 36px;
  }
  
  .signup-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Body Padding */
body {
  padding-top: var(--header-h);
}

/* Enhanced Footer */
.site-footer {
  width: 100%;
  background: linear-gradient(135deg, #0A1238 0%, #1a2348 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 80px;
  color: #fff;
  font-size: 0.9375rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin: 0 0 24px;
  font-weight: 600;
  color: #fff;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #FF9A1F 0%, #FFB74D 100%);
  border-radius: 2px;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 0 0 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(5px);
}

/* Footer Brand */
.footer-brand {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.company address {
  margin: 24px 0;
  line-height: 1.8;
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
}

/* Contact Button Enhanced */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #FF9A1F 0%, #FFB74D 100%);
  color: #0A1238;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 154, 31, 0.3);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 154, 31, 0.4);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.2);
}

/* Responsive Footer */
@media(max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    text-align: center;
  }
  
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .company address {
    text-align: center;
  }
  
  .cat-list {
    columns: 2;
    text-align: left;
  }
  
  .site-footer {
    margin-top: 60px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.footer-col {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }