/* =====================================================
   PAYTRINSIC HEADER & NAVIGATION STYLES
   ===================================================== */

/* Header Container */
.pt-site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pt-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.pt-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001;
}

.pt-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* Navigation */
.pt-nav {
  display: flex;
  align-items: center;
}

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

.pt-nav-item {
  position: relative;
}

/* Nav Links */
.pt-nav-link {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.pt-nav-link:hover {
  color: #059669;
}

.pt-nav-link.active {
  color: #059669;
  font-weight: 600;
}

/* Dropdown Arrow */
.pt-dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
  stroke: currentColor;
}

.pt-nav-item.has-dropdown:hover .pt-dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.pt-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 12px;
  padding: 8px 0;
  list-style: none;
  z-index: 1000;
}

.pt-nav-item.has-dropdown:hover .pt-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pt-dropdown li {
  margin: 0;
  padding: 0;
}

.pt-dropdown-link {
  display: block;
  padding: 12px 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.pt-dropdown-link:hover {
  background: #ecfdf5;
  color: #047857;
}

/* CTA Button */
.pt-nav-link.pt-cta {
  background: #10b981;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.pt-nav-link.pt-cta:hover {
  background: #059669;
  color: #ffffff;
}

/* Mobile Menu Toggle */
.pt-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.pt-menu-toggle svg {
  width: 28px;
  height: 28px;
  color: #1f2937;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .pt-header-inner {
    padding: 0 20px;
    height: 70px;
  }
  
  .pt-menu-toggle {
    display: block;
  }
  
  .pt-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .pt-nav.open {
    max-height: 600px;
  }
  
  .pt-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  
  .pt-nav-item {
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .pt-nav-item:last-child {
    border-bottom: none;
  }
  
  .pt-nav-link {
    padding: 16px 0;
    width: 100%;
    justify-content: space-between;
  }
  
  /* Mobile Dropdown */
  .pt-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid #e5e7eb;
    margin-top: 0;
    padding: 0;
    background: #f9fafb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .pt-nav-item.has-dropdown.open .pt-dropdown {
    max-height: 300px;
    padding: 12px 0;
  }
  
  .pt-dropdown-link {
    padding: 12px 20px;
  }
  
  .pt-nav-link.pt-cta {
    margin-top: 12px;
    text-align: center;
    display: block;
  }
}
/* Force menu completely hidden on mobile */
@media (max-width: 768px) {
  .pt-nav {
    max-height: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    border: none !important;
  }
  
  .pt-nav.open {
    max-height: 600px !important;
    height: auto !important;
    padding: 20px !important;
    border-top: 1px solid #e5e7eb !important;
  }
}