/* ============================================================
   utilities.css — Layout helpers, reveal states, shared components
   ============================================================ */

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* ---- Reveal animation initial states (GSAP starts from these) ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
}

/* ---- Shared button styles ---- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::after { left: 150%; }

/* ---- Tag pill (shared across sections) ---- */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-light);
}

/* ---- Delay helpers (used instead of inline style) ---- */
.delay-1  { transition-delay: 0.10s; }
.delay-2  { transition-delay: 0.15s; }
.delay-3  { transition-delay: 0.25s; }
.delay-4  { transition-delay: 0.35s; }
