/* ========================================
   Guibo Technologies AI – Global Styles
   ======================================== */

/* ---- Fonts & Base ---- */
* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Language Button Active State ---- */
.lang-btn {
  color: rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.lang-btn:hover {
  color: #FFC928;
}
.lang-btn.active {
  background: #FFC928;
  color: #1F1F23;
  font-weight: 700;
}

/* ---- Agent task items ---- */
.agent-task {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ---- Card hover effect ---- */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
}

/* ---- Integration chips ---- */
.integration-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s ease;
  cursor: default;
}
.integration-chip:hover {
  border-color: rgba(255,201,40,0.3);
  color: #FFC928;
  background: rgba(255,201,40,0.05);
}

/* ---- Scroll behavior ---- */
html {
  scroll-behavior: smooth;
}

/* ---- Custom scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0B1220; }
::-webkit-scrollbar-thumb { background: #6366F1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #FFC928; }

/* ---- Poppins font-weight utility ---- */
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }

/* ---- Navbar scroll effect ---- */
#navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* ---- Gradient backgrounds ---- */
.hero-gradient {
  background: linear-gradient(135deg, #0B1220 0%, #161C2D 50%, #0B1220 100%);
}

/* ---- Section transitions ---- */
section {
  position: relative;
}

/* ---- Animated pulse for status dot ---- */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* ---- Hover underline for links ---- */
.hover-underline::after {
  content: '';
  display: block;
  height: 2px;
  background: #FFC928;
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}
.hover-underline:hover::after {
  transform: scaleX(1);
}

/* ---- Responsive table ---- */
@media (max-width: 640px) {
  table { font-size: 0.75rem; }
  table th, table td { padding: 8px 10px; }
}

/* ---- Dark section pattern ---- */
.dark-grid-pattern {
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ---- Smooth fade in ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ---- Focus styles for accessibility ---- */
button:focus-visible, a:focus-visible {
  outline: 2px solid #FFC928;
  outline-offset: 2px;
  border-radius: 4px;
}
