/* =====================================================
   REUSABLE COMPONENTS: Header, Footer, Buttons, Cards
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 20px 0;
  background: rgba(4, 7, 13, 0.68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: grid; grid-template-columns: 180px 1fr 180px; align-items: center; gap: 24px; }
.brand img { width: 126px; height: auto; }
.nav-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.nav-pill a {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--soft);
  font-weight: 800;
  font-size: 14px;
  transition: .25s ease;
}
.nav-pill a:hover, .nav-pill a.active {
  color: white;
  background: linear-gradient(135deg, rgba(24,245,255,.18), rgba(124,77,255,.28));
  box-shadow: 0 10px 30px rgba(24,245,255,.12);
}
.hire-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet));
  background-size: 220% 220%;
  animation: gradientMove 5s ease infinite;
  box-shadow: 0 14px 40px rgba(45,140,255,.32);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hire-btn:hover, .btn:hover { transform: translateY(-3px); box-shadow: 0 18px 55px rgba(24,245,255,.35); }
.btn-soft { background: rgba(255,255,255,.08); box-shadow: none; }
.btn-ghost { background: rgba(255,255,255,.04); box-shadow: none; }
.btn.compact { min-height: 40px; padding: 0 14px; font-size: 14px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: white; }

.section-title { max-width: 760px; margin-bottom: 44px; }
.section-title.center { text-align: center; margin-inline: auto; }
.eyebrow, .tech-badge, .mini-badge, .category-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(24,245,255,.08);
  border: 1px solid rgba(24,245,255,.22);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 18px;
}

.glass-card, .portfolio-card, .blog-card, .testimonial-card, .timeline-card, .process-card, .sidebar-card, .contact-form, .contact-card, .cta-card {
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.glass-card { padding: 28px; position: relative; overflow: hidden; }
.glass-card::before, .portfolio-card::before, .blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(24,245,255,.16), transparent 38%);
  opacity: 0;
  transition: .3s ease;
  pointer-events: none;
}
.glass-card:hover::before, .portfolio-card:hover::before, .blog-card:hover::before { opacity: 1; }
.glass-card:hover, .portfolio-card:hover, .blog-card:hover { transform: translateY(-8px); border-color: rgba(24,245,255,.34); }
.card-icon {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center;
  color: white;
  background: linear-gradient(135deg, rgba(24,245,255,.9), rgba(124,77,255,.8));
  box-shadow: 0 18px 42px rgba(24,245,255,.22);
  font-size: 24px;
  margin-bottom: 22px;
}
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--cyan); font-weight: 900; }
.center-actions { display: flex; justify-content: center; margin-top: 38px; }

.site-footer { padding: 80px 0 24px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(2,3,7,.72); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr 1.1fr; gap: 34px; }
.footer-logo { width: 150px; margin-bottom: 18px; }
.site-footer a, .site-footer p { display: block; color: var(--muted); margin: 0 0 12px; }
.site-footer h4 { margin-bottom: 18px; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: white;
}
.footer-bottom { text-align: center; color: var(--muted); padding-top: 32px; margin-top: 42px; border-top: 1px solid rgba(255,255,255,.08); }
