/* css/services.css */
#services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 64px;
}

.service-item {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

/* Animated bottom border */
.service-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(to right, var(--purple), var(--purple-bright));
  transition: width 0.55s var(--ease);
}
.service-item:hover { background: var(--bg-2); }
.service-item:hover::after { width: 100%; }

.service-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--purple-bright);
  margin-bottom: 24px;
}

.service-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 24px;
  background: var(--bg-3);
  transition:
    border-color var(--transition-base),
    background var(--transition-base);
}
.service-item:hover .service-icon {
  border-color: rgba(139, 92, 246, 0.35);
  background: var(--purple-glow);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.78;
}
