/* Seostech Demo Bar Styling */
#seostech-demo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #F8FAFC;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

#seostech-demo-bar.minimized {
  transform: translateY(-100%);
}

#seostech-demo-bar * {
  box-sizing: border-box;
}

.seos-demo-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.seos-demo-logo {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
}

.seos-demo-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.18);
}

.seos-demo-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.seos-demo-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.25);
  color: #60A5FA;
  border: 1px solid rgba(96, 165, 250, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.seos-demo-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.seos-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 7px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.seos-demo-btn-back {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.seos-demo-btn-back:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  transform: translateX(-2px);
}

.seos-demo-btn-order {
  background: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.seos-demo-btn-order:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
}

.seos-demo-btn-toggle {
  background: transparent;
  color: #94A3B8;
  border: none;
  padding: 0.35rem;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.seos-demo-btn-toggle:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

/* Floating re-open pill when bar is minimized */
#seostech-demo-pill {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 9999998;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: transform 0.2s, background 0.2s;
}

#seostech-demo-pill:hover {
  background: #1E293B;
  transform: translateY(2px);
}

/* Standardized Seostech Footer */
.seostech-official-footer-bar {
  background: #0B1120 !important;
  color: #94A3B8 !important;
  padding: 1.25rem 1rem !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.85rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  position: relative !important;
  z-index: 999 !important;
}

.seostech-official-footer-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

.seostech-footer-left,
.seostech-footer-center,
.seostech-footer-right {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.seostech-footer-center a {
  color: #FFFFFF !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}

.seostech-footer-center a:hover {
  opacity: 0.85 !important;
}

.seostech-footer-logo-img {
  height: 20px !important;
  width: auto !important;
  vertical-align: middle !important;
  display: inline-block !important;
}

.seostech-footer-right {
  color: #10B981 !important;
  font-weight: 500 !important;
  font-size: 0.82rem !important;
}

@media (max-width: 768px) {
  #seostech-demo-bar {
    height: 48px;
    padding: 0 0.75rem;
  }
  .seos-demo-badge,
  .seos-demo-divider {
    display: none;
  }
  .seos-demo-title {
    font-size: 0.8rem;
  }
  .seos-demo-btn-order {
    display: none;
  }
  .seos-demo-btn-back {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }
  .seostech-official-footer-container {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
  }
}
